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.

Update: That link is dead. Here is an article that offers some similar information.

About these ads

5 Comments on “Set DirectoryService debug level”

  1. Mike R says:

    Nice catch, Kyle!

  2. Mike R says:

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

  3. connectionfailure says:

    I think the link is dead. It just takes you to the Mac OS X Reference Library and searching for “Troubleshooting” or “Directory” does not provide a search result with that document name.
    Good blog, by the way.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 30 other followers