summaryrefslogtreecommitdiff
path: root/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.in-r1
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-21 12:02:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-21 12:02:15 +0100
commitd1f1f3bc630772e7197391e85311655e2b6e7fa2 (patch)
tree0566ad543bdf6d9d9e03d8ab618ccc744913985a /app-admin/syslog-ng/files/syslog-ng.conf.gentoo.in-r1
parent0cdd46ad5d0cd7ede78815175764fdf76649d46e (diff)
gentoo auto-resync : 21:04:2023 - 12:02:15
Diffstat (limited to 'app-admin/syslog-ng/files/syslog-ng.conf.gentoo.in-r1')
-rw-r--r--app-admin/syslog-ng/files/syslog-ng.conf.gentoo.in-r136
1 files changed, 36 insertions, 0 deletions
diff --git a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.in-r1 b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.in-r1
new file mode 100644
index 000000000000..9940491ec78f
--- /dev/null
+++ b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.in-r1
@@ -0,0 +1,36 @@
+@version: @SYSLOGNG_VERSION@
+#
+# Syslog-ng default configuration file for Gentoo Linux
+
+# https://bugs.gentoo.org/426814
+@include "scl.conf"
+
+options {
+ threaded(yes);
+ 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));
+ # The default action of syslog-ng is to log a MARK line
+ # to the file every 20 minutes. That's seems high for most
+ # people so turn it down to once an hour. Set it to zero
+ # if you don't want the functionality at all.
+ mark_freq(3600);
+};
+
+source src { system(); internal(); };
+
+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); };