11558Srgrimes#
21558Srgrimes# syslog configuration file for SunOS 4.X
31558Srgrimes# (modified to do local2 separately)
41558Srgrimes#
51558Srgrimes# This file is processed by m4 so be careful to quote (`') names
61558Srgrimes# that match m4 reserved words.  Also, within ifdef's, arguments
71558Srgrimes# containing commas must be quoted.
81558Srgrimes#
91558Srgrimes# Note: Have to exclude user from most lines so that user.alert
101558Srgrimes#	and user.emerg are not included, because old sendmails
111558Srgrimes#	will generate them for debugging information.  If you
121558Srgrimes#	have no 4.2BSD based systems doing network logging, you
131558Srgrimes#	can remove all the special cases for "user" logging.
141558Srgrimes
151558Srgrimes#*.err;kern.debug;auth.notice;user.none		/dev/console
161558Srgrimeskern.debug;user,mail.crit;auth.notice		/dev/console
171558Srgrimesdaemon,syslog,lpr,news,uucp,cron.err		/dev/console
181558Srgrimes
191558Srgrimes#*.err;kern.debug;daemon,auth.notice;mail.crit;user.none /var/adm/messages
201558Srgrimeskern.debug;user,mail.crit;auth.notice		/var/adm/messages
211558Srgrimesdaemon.notice;syslog,news,uucp,cron.err		/var/adm/messages
221558Srgrimes
231558Srgrimeslpr.debug					/var/adm/lpd-errs
241558Srgrimes
251558Srgrimes*.alert;kern.err;daemon.err;user.none		operator
261558Srgrimes*.alert;user.none				root
271558Srgrimes
281558Srgrimes*.emerg;user.none				*
291558Srgrimes
301558Srgrimes# for loghost machines, to have authentication messages (su, login, etc.)
311558Srgrimes# logged to a file, un-comment out the following line and adjust the file name
321558Srgrimes# as appropriate.
331558Srgrimes#
341558Srgrimes# if a non-loghost machine chooses to have such messages 
351558Srgrimes# sent to the loghost machine, un-comment out the following line.
361558Srgrimes#
371558Srgrimes#auth.notice			ifdef(`LOGHOST', /var/log/authlog, @loghost)
381558Srgrimes
391558Srgrimesmail.debug			ifdef(`LOGHOST', /var/log/syslog, @loghost)
4023685Speter
411558Srgrimes# following line for compatibility with old sendmails.  they will send
421558Srgrimes# messages with no facility code, which will be turned into "user" messages
431558Srgrimes# by the local syslog daemon.  only the "loghost" machine needs the following
441558Srgrimes# line, to cause these old sendmail log messages to be logged in the
451558Srgrimes# mail syslog file.
461558Srgrimes#
471558Srgrimesifdef(`LOGHOST',
481558Srgrimesuser.alert					/var/log/syslog
491558Srgrimes)
501558Srgrimes#
511558Srgrimes# non-loghost machines will use the following lines to cause "user"
521558Srgrimes# log messages to be logged locally.
531558Srgrimes#
541558Srgrimesifdef(`LOGHOST', ,
551558Srgrimesuser.err					/dev/console
561558Srgrimesuser.err					/var/adm/messages
571558Srgrimesuser.alert					`root, operator'
581558Srgrimesuser.emerg					*
591558Srgrimes)
601558Srgrimes
611558Srgrimes# Local2: (bootpd, pppd)
621558Srgrimeslocal2.debug				/dev/console
631558Srgrimes#local2.debug				/var/log/local2
641558Srgrimes