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