[package] add syslog-ng3 (#5205)
[packages.git] / admin / syslog-ng3 / files / syslog-ng.conf
diff --git a/admin/syslog-ng3/files/syslog-ng.conf b/admin/syslog-ng3/files/syslog-ng.conf
new file mode 100644 (file)
index 0000000..658abea
--- /dev/null
@@ -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); };