]>
Commit | Line | Data |
---|---|---|
d2b53787 SP |
1 | #rsyslog v3 config file |
2 | ||
3 | # provides support for local system logging (e.g. via logger command) | |
4 | $ModLoad imuxsock.so | |
5 | # provides kernel logging support (previously done by rklogd) | |
6 | $ModLoad imklog.so | |
7 | ||
8 | # provides --MARK-- message capability | |
9 | #$ModLoad immark.so | |
10 | # provides UDP syslog reception | |
11 | #$ModLoad imudp.so | |
12 | # provides TCP syslog reception and GSS-API (if compiled to support it) | |
13 | #$ModLoad imtcp.so | |
14 | ||
15 | ||
16 | # Log all kernel messages to the console. | |
17 | # Logging much else clutters up the screen. | |
18 | #kern.* /dev/console | |
19 | ||
20 | # Log anything (except mail) of level info or higher. | |
21 | # Don't log private authentication messages! | |
22 | *.info;mail.none;authpriv.none;cron.none /var/log/messages | |
23 | ||
24 | # The authpriv file has restricted access. | |
25 | authpriv.* /var/log/secure | |
26 | ||
27 | # Log all the mail messages in one place. | |
28 | mail.* -/var/log/maillog | |
29 | ||
30 | ||
31 | # Log cron stuff | |
32 | cron.* /var/log/cron | |
33 | ||
34 | # Everybody gets emergency messages | |
35 | *.emerg * | |
36 | ||
37 | # Save news errors of level crit and higher in a special file. | |
38 | uucp,news.crit /var/log/spooler | |
39 | ||
40 | # Save boot messages also to boot.log | |
41 | local7.* /var/log/boot.log |