Home | History | Annotate | Line # | Download | only in bootpd
      1  1.1  gwr #
      2  1.1  gwr # syslog configuration file for SunOS 4.X
      3  1.1  gwr # (modified to do local2 separately)
      4  1.1  gwr #
      5  1.1  gwr # This file is processed by m4 so be careful to quote (`') names
      6  1.1  gwr # that match m4 reserved words.  Also, within ifdef's, arguments
      7  1.1  gwr # containing commas must be quoted.
      8  1.1  gwr #
      9  1.1  gwr # Note: Have to exclude user from most lines so that user.alert
     10  1.1  gwr #	and user.emerg are not included, because old sendmails
     11  1.1  gwr #	will generate them for debugging information.  If you
     12  1.1  gwr #	have no 4.2BSD based systems doing network logging, you
     13  1.1  gwr #	can remove all the special cases for "user" logging.
     14  1.1  gwr 
     15  1.1  gwr #*.err;kern.debug;auth.notice;user.none		/dev/console
     16  1.1  gwr kern.debug;user,mail.crit;auth.notice		/dev/console
     17  1.1  gwr daemon,syslog,lpr,news,uucp,cron.err		/dev/console
     18  1.1  gwr 
     19  1.1  gwr #*.err;kern.debug;daemon,auth.notice;mail.crit;user.none /var/adm/messages
     20  1.1  gwr kern.debug;user,mail.crit;auth.notice		/var/adm/messages
     21  1.1  gwr daemon.notice;syslog,news,uucp,cron.err		/var/adm/messages
     22  1.1  gwr 
     23  1.1  gwr lpr.debug					/var/adm/lpd-errs
     24  1.1  gwr 
     25  1.1  gwr *.alert;kern.err;daemon.err;user.none		operator
     26  1.1  gwr *.alert;user.none				root
     27  1.1  gwr 
     28  1.1  gwr *.emerg;user.none				*
     29  1.1  gwr 
     30  1.1  gwr # for loghost machines, to have authentication messages (su, login, etc.)
     31  1.1  gwr # logged to a file, un-comment out the following line and adjust the file name
     32  1.1  gwr # as appropriate.
     33  1.1  gwr #
     34  1.1  gwr # if a non-loghost machine chooses to have such messages 
     35  1.1  gwr # sent to the loghost machine, un-comment out the following line.
     36  1.1  gwr #
     37  1.1  gwr #auth.notice			ifdef(`LOGHOST', /var/log/authlog, @loghost)
     38  1.1  gwr 
     39  1.1  gwr mail.debug			ifdef(`LOGHOST', /var/log/syslog, @loghost)
     40  1.1  gwr 
     41  1.1  gwr # following line for compatibility with old sendmails.  they will send
     42  1.1  gwr # messages with no facility code, which will be turned into "user" messages
     43  1.1  gwr # by the local syslog daemon.  only the "loghost" machine needs the following
     44  1.1  gwr # line, to cause these old sendmail log messages to be logged in the
     45  1.1  gwr # mail syslog file.
     46  1.1  gwr #
     47  1.1  gwr ifdef(`LOGHOST',
     48  1.1  gwr user.alert					/var/log/syslog
     49  1.1  gwr )
     50  1.1  gwr #
     51  1.1  gwr # non-loghost machines will use the following lines to cause "user"
     52  1.1  gwr # log messages to be logged locally.
     53  1.1  gwr #
     54  1.1  gwr ifdef(`LOGHOST', ,
     55  1.1  gwr user.err					/dev/console
     56  1.1  gwr user.err					/var/adm/messages
     57  1.1  gwr user.alert					`root, operator'
     58  1.1  gwr user.emerg					*
     59  1.1  gwr )
     60  1.1  gwr 
     61  1.1  gwr # Local2: (bootpd, pppd)
     62  1.1  gwr local2.debug				/dev/console
     63  1.1  gwr #local2.debug				/var/log/local2
     64