Set DirectoryService debug level

Apple’s document on Extending and Troubleshooting Directory Services has a lot of good info.

One correction though is that the debug level must be an integer.
sudo defaults write /Library/Preferences/DirectoryService/DirectoryServiceDebug "Debug Logging Priority Level" -integer 2

I’ve notified Apple, so this may be fixed by the time you read this.

2 Responses to “Set DirectoryService debug level”

  1. Mike R Says:

    Nice catch, Kyle!

  2. Mike R Says:

    This has been fixed. The line now contains “-int”.


Leave a Reply