#1# syslog configuration file for SunOS 4.X2# (modified to do local2 separately)3#4# This file is processed by m4 so be careful to quote (`') names5# that match m4 reserved words. Also, within ifdef's, arguments6# containing commas must be quoted.7#8# Note: Have to exclude user from most lines so that user.alert9# and user.emerg are not included, because old sendmails10# will generate them for debugging information. If you11# have no 4.2BSD based systems doing network logging, you12# can remove all the special cases for "user" logging.1314#*.err;kern.debug;auth.notice;user.none /dev/console15kern.debug;user,mail.crit;auth.notice /dev/console16daemon,syslog,lpr,news,uucp,cron.err /dev/console1718#*.err;kern.debug;daemon,auth.notice;mail.crit;user.none /var/adm/messages19kern.debug;user,mail.crit;auth.notice /var/adm/messages20daemon.notice;syslog,news,uucp,cron.err /var/adm/messages2122lpr.debug /var/adm/lpd-errs2324*.alert;kern.err;daemon.err;user.none operator25*.alert;user.none root2627*.emerg;user.none *2829# for loghost machines, to have authentication messages (su, login, etc.)30# logged to a file, un-comment out the following line and adjust the file name31# as appropriate.32#33# if a non-loghost machine chooses to have such messages34# sent to the loghost machine, un-comment out the following line.35#36#auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)3738mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)3940# following line for compatibility with old sendmails. they will send41# messages with no facility code, which will be turned into "user" messages42# by the local syslog daemon. only the "loghost" machine needs the following43# line, to cause these old sendmail log messages to be logged in the44# mail syslog file.45#46ifdef(`LOGHOST',47user.alert /var/log/syslog48)49#50# non-loghost machines will use the following lines to cause "user"51# log messages to be logged locally.52#53ifdef(`LOGHOST', ,54user.err /dev/console55user.err /var/adm/messages56user.alert `root, operator'57user.emerg *58)5960# Local2: (bootpd, pppd)61local2.debug /dev/console62#local2.debug /var/log/local2636465