13229Spst#
23229Spst# syslog configuration file for SunOS 4.X
33229Spst# (modified to do local2 separately)
43229Spst#
53229Spst# This file is processed by m4 so be careful to quote (`') names
63229Spst# that match m4 reserved words.  Also, within ifdef's, arguments
73229Spst# containing commas must be quoted.
83229Spst#
93229Spst# Note: Have to exclude user from most lines so that user.alert
103229Spst#	and user.emerg are not included, because old sendmails
113229Spst#	will generate them for debugging information.  If you
123229Spst#	have no 4.2BSD based systems doing network logging, you
133229Spst#	can remove all the special cases for "user" logging.
143229Spst
153229Spst#*.err;kern.debug;auth.notice;user.none		/dev/console
163229Spstkern.debug;user,mail.crit;auth.notice		/dev/console
173229Spstdaemon,syslog,lpr,news,uucp,cron.err		/dev/console
183229Spst
193229Spst#*.err;kern.debug;daemon,auth.notice;mail.crit;user.none /var/adm/messages
203229Spstkern.debug;user,mail.crit;auth.notice		/var/adm/messages
213229Spstdaemon.notice;syslog,news,uucp,cron.err		/var/adm/messages
223229Spst
233229Spstlpr.debug					/var/adm/lpd-errs
243229Spst
253229Spst*.alert;kern.err;daemon.err;user.none		operator
263229Spst*.alert;user.none				root
273229Spst
283229Spst*.emerg;user.none				*
293229Spst
303229Spst# for loghost machines, to have authentication messages (su, login, etc.)
313229Spst# logged to a file, un-comment out the following line and adjust the file name
323229Spst# as appropriate.
333229Spst#
343229Spst# if a non-loghost machine chooses to have such messages 
353229Spst# sent to the loghost machine, un-comment out the following line.
363229Spst#
373229Spst#auth.notice			ifdef(`LOGHOST', /var/log/authlog, @loghost)
383229Spst
393229Spstmail.debug			ifdef(`LOGHOST', /var/log/syslog, @loghost)
403229Spst
413229Spst# following line for compatibility with old sendmails.  they will send
423229Spst# messages with no facility code, which will be turned into "user" messages
433229Spst# by the local syslog daemon.  only the "loghost" machine needs the following
443229Spst# line, to cause these old sendmail log messages to be logged in the
453229Spst# mail syslog file.
463229Spst#
473229Spstifdef(`LOGHOST',
483229Spstuser.alert					/var/log/syslog
493229Spst)
503229Spst#
513229Spst# non-loghost machines will use the following lines to cause "user"
523229Spst# log messages to be logged locally.
533229Spst#
543229Spstifdef(`LOGHOST', ,
553229Spstuser.err					/dev/console
563229Spstuser.err					/var/adm/messages
573229Spstuser.alert					`root, operator'
583229Spstuser.emerg					*
593229Spst)
603229Spst
613229Spst# Local2: (bootpd, pppd)
623229Spstlocal2.debug				/dev/console
633229Spst#local2.debug				/var/log/local2
64