]> git.pld-linux.org Git - packages/syslog-ng.git/blame_incremental - syslog-ng-simple.conf
- start after nfsfs
[packages/syslog-ng.git] / syslog-ng-simple.conf
... / ...
CommitLineData
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
11options {
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
22source s_kernel { file ("/proc/kmsg" program_override("kernel: ")); };
23source s_src { unix-stream("/dev/log"); internal(); };
24
25destination d_mail { file("/var/log/maillog"); };
26destination d_messages { file("/var/log/messages"); };
27destination d_kernel { file("/var/log/kernel"); };
28destination d_console_all { file("/dev/tty12"); };
29
30filter f_mail { facility(mail); };
31
32log { source(s_kernel); destination(d_kernel); };
33log { source(s_src); destination(d_console_all); };
34log { source(s_src); filter(f_mail); destination(d_mail); };
35log { source(s_src); destination(d_messages); flags(fallback); };
This page took 0.065183 seconds and 4 git commands to generate.