Installation guide

#
# syslogd config file
#
# facilities: kern user mail daemon auth syslog lpr binary
# priorities: emerg alert crit err warning notice info debug
#
#
1 2 3
kern.debug /var/adm/syslog.dated/kern.log
user.debug /var/adm/syslog.dated/user.log
daemon.debug /var/adm/syslog.dated/daemon.log
auth.crit;syslog.debug /var/adm/syslog.dated/syslog.log
mail,lpr.debug /var/adm/syslog.dated/misc.log
msgbuf.err /var/adm/crash.dated/msgbuf.savecore
kern.debug /var/adm/messages
kern.debug /dev/console
*.emerg *
Each /etc/syslog.conf file entry has the following entry syntax:
1 Specifies the facility, which is the part of the system generating the
message.
2 Specifies the severity level. The syslogd daemon logs all messages of
the specified severity level plus all messages of greater severity. For
example, if you specify level err, all messages of levels err, crit,
alert, and emerg or panic are logged.
3 Specifies the destination where the messages are logged.
The syslogd daemon ignores blank lines and lines that begin with a
number sign (#). You can specify a number sign (#) as the first character in
a line to include comments in the /etc/syslog.conf file or to disable an
entry.
The facility and severity level are separated from the destination by one or
more tabs.
You can specify more than one facility and its severity level by separating
them with semicolons. In the preceding example, messages from the auth
facility of crit severity level and higher and messages from the syslog
facility of debug severity level and higher are logged to the
/var/adm/syslog.dated/syslog.log file.
You can specify more than one facility by separating them with commas. In
the preceding example, messages from the mail and lpr facilities of debug
severity level and higher are logged to the
/var/adm/syslog.dated/misc.log file.
You can specify the following facilities:
13–4 Administering Events and Errors