]> git.pld-linux.org Git - packages/syslog-ng.git/blob - syslog-ng-simple.conf
- start after nfsfs
[packages/syslog-ng.git] / syslog-ng-simple.conf
1 @version: 3.0
2 #
3 # Syslog-ng configuration for PLD Linux
4 #
5 # Copyright (c) 1999 anonymous
6 # Copyright (c) 1999 Balazs Scheidler
7 # $Id$
8 #
9 # Syslog-ng configuration file
10
11 options {
12         long_hostnames(off);
13         flush_lines(0);
14
15         # The default action of syslog-ng 1.6.0 is to log a STATS line
16         # to the file every 10 minutes.  That's pretty ugly after a while.
17         # Change it to every 12 hours so you get a nice daily update of
18         # how many messages syslog-ng missed (0).
19         stats_freq(43200);
20 };
21
22 source s_kernel { file ("/proc/kmsg" program_override("kernel: ")); };
23 source s_src    { unix-stream("/dev/log"); internal(); };
24
25 destination d_mail        { file("/var/log/maillog"); };
26 destination d_messages    { file("/var/log/messages"); };
27 destination d_kernel      { file("/var/log/kernel"); };
28 destination d_console_all { file("/dev/tty12"); };
29
30 filter f_mail             { facility(mail); };
31
32 log { source(s_kernel); destination(d_kernel); };
33 log { source(s_src); destination(d_console_all); };
34 log { source(s_src); filter(f_mail); destination(d_mail); };
35 log { source(s_src); destination(d_messages); flags(fallback); };
This page took 0.023898 seconds and 3 git commands to generate.