Skip to content

Instantly share code, notes, and snippets.

@kaloprominat
Created December 25, 2013 09:38
Show Gist options
  • Save kaloprominat/8121757 to your computer and use it in GitHub Desktop.
Save kaloprominat/8121757 to your computer and use it in GitHub Desktop.
osx: mac os enable opendirectory debug
dutil set log debug
(так же есть уровни "alert", "critical", "error", "warning", "notice", and "info"), уровень логгирования остается после перезагрузки.
odutil set log default
The odutil command is also used to enable statistics. These are pretty memory intensive (or they were on a mini w/ 4GB of memory in it but might not be with your 32GB of RAM fortified Xserve). This is done using odutil’s set statistics verb w/ an option of either on or off:
odutil set statistics on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment