Apple Xserve Up Mac OS X Server Specifications Page 297

  • Download
  • Add to my manuals
  • Print
  • Page
    / 329
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 296
19
297
19 Configuring and Managing
System Logging
Use this chapter to learn the commands to configure and
manage system logging.
Logging System Events
Logs are text files that form a record of what has occurred on the system, much like a
journal.
Configuring the Log File
Log files are maintained in the /Library/Logs/ and /var/log/ folders. Some commonly
monitored log files include console.log and system.log. Applications can have their
own log files located in different folders.
Console.log is located in /Library/Logs/Console/uid, where uid is the user ID.
Console.log contains recent console activity.
System.log is located in /var/log/ and contains a log of all system activity, including
console log information.
Configuring System Logging
The configuration file for the system logging daemon, syslogd, is /etc/syslog.conf.
Each line in /etc/syslog.conf consists of text containing the following types of data:
 Facility: Specifies categories of log messages. Standard facilities include mail, news,
user, and kern (kernel).
 Priority: Specifies the urgency of the message. The order from least to most critical
is debug, info, notice, warning, err, crit, alert, and emerg. The priority of the log
message is set by the application sending it, not by syslogd.
 Action: Specifies what to do with a log message of a specific facility and priority.
Messages can be sent to files, named pipes, devices, or to a remote host.
Page view 296
1 2 ... 292 293 294 295 296 297 298 299 300 301 302 ... 328 329

Comments to this Manuals

No comments