Lion Server: Changing opendirectoryd logging levels

Summary

You may wish to change the opendirectoryd logging level if you are troubleshooting Open Directory (also known as Directory Services) issues, or if you want to provide more information about Open Directory (opendirectoryd) requests.

Products Affected

Lion Server

Enable opendirectoryd debug logging with the following Terminal command:

odutil set log debug


You can revert to standard logging with:

odutil set log default


Notes

  • Logs are stored in /var/log/opendirectoryd.log.
  • The logging level will persist through restarts.
  • Other logging levels are also available: "alert", "critical", "error", "warning", "notice", and "info".
  • For more information please refer to the manual pages for the odutil utility (such as "man odutil").
  • Generally, debug logging should only be used to troubleshoot Open Directory service-related issues because debug logging can generate large amounts of log messages. If you need more detailed information about Open Directory events but do not wish to use "debug", consider using "info" instead.
Not helpful Somewhat helpful Helpful Very helpful Solved my problem
Ask other users about this article
in Apple Support Communities
See all questions on this article See all questions I have asked