From 81485a408940e5a704e16921568004ad71822ff4 Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 1 Sep 2015 20:10:58 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- syslog-ng/._cfg0000_syslog-ng.conf | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 syslog-ng/._cfg0000_syslog-ng.conf diff --git a/syslog-ng/._cfg0000_syslog-ng.conf b/syslog-ng/._cfg0000_syslog-ng.conf new file mode 100644 index 0000000..77dacb8 --- /dev/null +++ b/syslog-ng/._cfg0000_syslog-ng.conf @@ -0,0 +1,37 @@ +@version: 3.6 +# $Id$ +# +# Syslog-ng default configuration file for Gentoo Linux + +# https://bugs.gentoo.org/show_bug.cgi?id=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); };