
Logging
Mac OS X Server maintains standard UNIX log files and
ÂÂ /var/log
ÂÂ /Library/Logs ÂÂ ~/Library/Logs
Each process is responsible for its own logs, the log level, and verbosity. Each process or application can write its own log file or use a system standard log, like syslog. You can use the Console application (in /Applications/Utilities) to read these and other
The logs are set to roll (compress and rename the log file) every 5 MB.
Most services in Mac OS X Server have a logging pane in Server Admin. You can use these panes to set logging levels and view the logs for any particular service.
Syslog
The system log, syslog, is a consolidated
The level of logging you use for syslog can be tuned by process and should be relevant to the level necessary for successful notification and debugging.
Syslog log levels (in ascending order from least to most detail)
Level name | Level indicator in syslog.conf | Amount of detail |
None | .none | None |
|
|
|
Emergency | .emerg | Least |
|
|
|
Alert | .alert |
|
|
|
|
Error | .err |
|
|
|
|
Warning | .warn |
|
|
|
|
Notice | .notice |
|
|
|
|
Info | .info |
|
|
|
|
Debug | .debug | Most |
|
|
|
Chapter 8 Monitoring Your System
185