branch Attitude Adjustment packages
[12.09/packages.git] / admin / syslog-ng / files / syslog-ng.conf
1 options { 
2         chain_hostnames(off); 
3         sync(0); 
4
5         # The default action of syslog-ng 1.6.0 is to log a STATS line
6         # to the file every 10 minutes.  That's pretty ugly after a while.
7         # Change it to every 12 hours so you get a nice daily update of
8         # how many messages syslog-ng missed (0).
9         stats(43200); 
10 };
11
12 source src { unix-stream("/dev/log"); internal(); };
13
14 destination messages { file("/var/log/messages"); };
15
16 log { source(src); destination(messages); };