packages/admin/syslog-ng/files/syslog-ng.conf
florian be31e0c014 Port syslog-ng to -ng
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-08 14:56:43 +00:00

17 lines
460 B
Plaintext

options {
chain_hostnames(off);
sync(0);
# The default action of syslog-ng 1.6.0 is to log a STATS line
# to the file every 10 minutes. That's pretty ugly after a while.
# Change it to every 12 hours so you get a nice daily update of
# how many messages syslog-ng missed (0).
stats(43200);
};
source src { unix-stream("/dev/log"); internal(); };
destination messages { file("/var/log/messages"); };
log { source(src); destination(messages); };