]>
Commit | Line | Data |
---|---|---|
cd1a2927 MT |
1 | # Log all kernel messages to the console. |
2 | # Logging much else clutters up the screen. | |
3 | #kern.* /dev/console | |
4 | ||
5 | # Log anything (except mail) of level info or higher. | |
6 | # Don't log private authentication messages! | |
7 | # local0.* any dhcpcd log (even debug) in messages | |
0e28ea9f | 8 | cron.none;daemon.*;local0.*;local2.*;local5.*;*.info;mail.none;authpriv.* -/var/log/messages |
7b9e5f10 MT |
9 | |
10 | # Log crons | |
adb11e90 | 11 | #cron.* -/var/log/cron.log |
cd1a2927 MT |
12 | |
13 | # Everybody gets emergency messages | |
f89a66e0 | 14 | *.emerg * |
cd1a2927 | 15 | |
cd1a2927 | 16 | # Display logs on tty12 |
f89a66e0 | 17 | *.* /dev/tty12 |
cd1a2927 MT |
18 | |
19 | # Optionally log to a remote host | |
f89a66e0 | 20 | #*.* @hostname.domain |
3ea75603 MT |
21 | |
22 | # Postfix logs | |
adb11e90 | 23 | mail.* -/var/log/mail |
c5494ad0 MT |
24 | |
25 | # HAProxy | |
26 | local1.* -/var/log/haproxy |