summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-04-06 02:11:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-04-06 02:11:35 +0000
commitd83cc100f783d0bb74b5196afc8116b6cd5e2da9 (patch)
treed86cafc2713a3f01e24c2cbbce0421e4b4296ce6 /app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3
parentVersion bump. Thanks to David Abbott and others in bug 301119 (diff)
downloadgentoo-2-d83cc100f783d0bb74b5196afc8116b6cd5e2da9.tar.gz
gentoo-2-d83cc100f783d0bb74b5196afc8116b6cd5e2da9.tar.bz2
gentoo-2-d83cc100f783d0bb74b5196afc8116b6cd5e2da9.zip
syslog-ng 3.x version bump; updated files/ to be generic for 3.x
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3')
-rw-r--r--app-admin/syslog-ng/files/syslog-ng.conf.gentoo.332
1 files changed, 32 insertions, 0 deletions
diff --git a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3 b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3
new file mode 100644
index 000000000000..8cc5ff49963f
--- /dev/null
+++ b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3
@@ -0,0 +1,32 @@
+@version: 3.0
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3,v 1.1 2010/04/06 02:11:35 mr_bones_ Exp $
+#
+# Syslog-ng default configuration file for Gentoo Linux
+
+options {
+ chain_hostnames(no);
+
+ # The default action of syslog-ng 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_freq(43200);
+};
+
+source src {
+ unix-stream("/dev/log" max-connections(256));
+ internal();
+ file("/proc/kmsg");
+};
+
+destination messages { file("/var/log/messages"); };
+
+# By default messages are logged to tty12...
+destination console_all { file("/dev/tty12"); };
+# ...if you intend to use /dev/console for programs like xconsole
+# you can comment out the destination line above that references /dev/tty12
+# and uncomment the line below.
+#destination console_all { file("/dev/console"); };
+
+log { source(src); destination(messages); };
+log { source(src); destination(console_all); };