1 | # /etc/syslog.conf |
---|
2 | # For info about the format of this file, see "man syslog.conf" |
---|
3 | # and /usr/doc/sysklogd/README.linux. Note the '-' prefixing some |
---|
4 | # of these entries; this omits syncing the file after every logging. |
---|
5 | # In the event of a crash, some log information might be lost, so |
---|
6 | # if this is a concern to you then you might want to remove the '-'. |
---|
7 | # Be advised this will cause a performation loss if you're using |
---|
8 | # programs that do heavy logging. |
---|
9 | |
---|
10 | # Uncomment this to see kernel messages on the console. |
---|
11 | #kern.* /dev/console |
---|
12 | |
---|
13 | # Log anything 'info' or higher, but lower than 'warn'. |
---|
14 | # Exclude authpriv, cron, mail, and news. These are logged elsewhere. |
---|
15 | *.info;*.!warn;\ |
---|
16 | authpriv.none;cron.none;mail.none;news.none -/var/log/messages |
---|
17 | |
---|
18 | # Log anything 'warn' or higher. |
---|
19 | # Exclude authpriv, cron, mail, and news. These are logged elsewhere. |
---|
20 | *.warn;\ |
---|
21 | authpriv.none;cron.none;mail.none;news.none -/var/log/syslog |
---|
22 | |
---|
23 | # Debugging information is logged here. |
---|
24 | *.=debug -/var/log/debug |
---|
25 | |
---|
26 | # Private authentication message logging: |
---|
27 | authpriv.* -/var/log/secure |
---|
28 | |
---|
29 | # Cron related logs: |
---|
30 | cron.* -/var/log/cron |
---|
31 | |
---|
32 | # Mail related logs: |
---|
33 | mail.* -/var/log/maillog |
---|
34 | |
---|
35 | # Emergency level messages go to all users: |
---|
36 | *.emerg * |
---|
37 | |
---|
38 | # This log is for news and uucp errors: |
---|
39 | uucp,news.crit -/var/log/spooler |
---|
40 | |
---|
41 | # Uncomment these if you'd like INN to keep logs on everything. |
---|
42 | # You won't need this if you don't run INN (the InterNetNews daemon). |
---|
43 | #news.=crit -/var/log/news/news.crit |
---|
44 | #news.=err -/var/log/news/news.err |
---|
45 | #news.notice -/var/log/news/news.notice |
---|
46 | |
---|