Set DirectoryService debug level
Posted: December 8, 2008 Filed under: Active Directory, Mac OS X, Mac OS X Server | Tags: Active Directory, AD, debug, debug level, defaults, DirectoryService, Mac OS X, USR1 5 Comments »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.
Nice catch, Kyle!
This has been fixed. The line now contains “-int”.
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.
Not sure what happened to the article. It was a good one. Thanks.
Found a similar article, though not as detailed as the original.
http://developer.apple.com/mac/library/releasenotes/MacOSXServer/RN-DirectoryServices/index.html