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