summaryrefslogtreecommitdiffstats
path: root/openwrt/package/syslog-ng/files/syslog-ng.conf
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-15 13:40:51 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-15 13:40:51 +0000
commitdefb55e8d08248ff07de87667540c9d075a30b2d (patch)
tree2c5a8be07d03972a95f8e2c455b045885999cc5b /openwrt/package/syslog-ng/files/syslog-ng.conf
parentc2938966836db28e895b9eb37f9eec9195b76550 (diff)
add miau from Benjamin Binier, updated to newest upstream, thx. add syslog-ng from Sebastien Bourgasser, pending missing libol package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3378 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/syslog-ng/files/syslog-ng.conf')
-rw-r--r--openwrt/package/syslog-ng/files/syslog-ng.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/openwrt/package/syslog-ng/files/syslog-ng.conf b/openwrt/package/syslog-ng/files/syslog-ng.conf
new file mode 100644
index 000000000..658abead2
--- /dev/null
+++ b/openwrt/package/syslog-ng/files/syslog-ng.conf
@@ -0,0 +1,16 @@
+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); };