|
| 1 | +# Default rules for rsyslog. |
| 2 | +# |
| 3 | +# For more information see rsyslog.conf(5) and /etc/rsyslog.conf |
| 4 | + |
| 5 | +# |
| 6 | +# First some standard log files. Log by facility. |
| 7 | +# |
| 8 | +auth,authpriv.* /var/log/auth.log |
| 9 | +*.*;auth,authpriv.none -/var/log/syslog |
| 10 | +#cron.* /var/log/cron.log |
| 11 | +#daemon.* -/var/log/daemon.log |
| 12 | +kern.* -/var/log/kern.log |
| 13 | +#lpr.* -/var/log/lpr.log |
| 14 | +mail.* -/var/log/mail.log |
| 15 | +#user.* -/var/log/user.log |
| 16 | + |
| 17 | +# |
| 18 | +# Logging for the mail system. Split it up so that |
| 19 | +# it is easy to write scripts to parse these files. |
| 20 | +# |
| 21 | +#mail.info -/var/log/mail.info |
| 22 | +#mail.warn -/var/log/mail.warn |
| 23 | +mail.err /var/log/mail.err |
| 24 | + |
| 25 | +# |
| 26 | +# Logging for INN news system. |
| 27 | +# |
| 28 | +news.crit /var/log/news/news.crit |
| 29 | +news.err /var/log/news/news.err |
| 30 | +news.notice -/var/log/news/news.notice |
| 31 | + |
| 32 | +# |
| 33 | +# Some "catch-all" log files. |
| 34 | +# |
| 35 | +#*.=debug;\ |
| 36 | +# auth,authpriv.none;\ |
| 37 | +# news.none;mail.none -/var/log/debug |
| 38 | +#*.=info;*.=notice;*.=warn;\ |
| 39 | +# auth,authpriv.none;\ |
| 40 | +# cron,daemon.none;\ |
| 41 | +# mail,news.none -/var/log/messages |
| 42 | + |
| 43 | +# |
| 44 | +# Emergencies are sent to everybody logged in. |
| 45 | +# |
| 46 | +*.emerg :omusrmsg:* |
| 47 | + |
| 48 | +# |
| 49 | +# I like to have messages displayed on the console, but only on a virtual |
| 50 | +# console I usually leave idle. |
| 51 | +# |
| 52 | +#daemon,mail.*;\ |
| 53 | +# news.=crit;news.=err;news.=notice;\ |
| 54 | +# *.=debug;*.=info;\ |
| 55 | +# *.=notice;*.=warn /dev/tty8 |
| 56 | + |
| 57 | +# The named pipe /dev/xconsole is for the `xconsole' utility. To use it, |
| 58 | +# you must invoke `xconsole' with the `-file' option: |
| 59 | +# |
| 60 | +# $ xconsole -file /dev/xconsole [...] |
| 61 | +# |
| 62 | +# NOTE: adjust the list below, or you'll go crazy if you have a reasonably |
| 63 | +# busy site.. |
| 64 | +# |
| 65 | +daemon.*;mail.*;\ |
| 66 | + news.err;\ |
| 67 | + *.=debug;*.=info;\ |
| 68 | + *.=notice;*.=warn |/dev/xconsole |
0 commit comments