]>
Commit | Line | Data |
---|---|---|
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 | |
8 | cron.none;daemon.*;local0.*;local2.*;*.info;mail.none;authpriv.* -/var/log/messages | |
9 | ||
10 | # Log crons | |
11 | #cron.* -/var/log/cron.log | |
12 | ||
13 | # Everybody gets emergency messages | |
14 | *.emerg * | |
15 | ||
16 | # Display logs on tty12 | |
17 | *.* /dev/tty12 | |
18 | ||
19 | # Optionally log to a remote host | |
20 | #*.* @hostname.domain | |
21 | ||
22 | # Postfix logs | |
23 | mail.* -/var/log/mail | |
24 | ||
25 | # HAProxy | |
26 | local1.* -/var/log/haproxy |