diff options
Diffstat (limited to 'app-admin/syslog-ng/files/3.6/syslog-ng.conf.gentoo.fbsd')
-rw-r--r-- | app-admin/syslog-ng/files/3.6/syslog-ng.conf.gentoo.fbsd | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app-admin/syslog-ng/files/3.6/syslog-ng.conf.gentoo.fbsd b/app-admin/syslog-ng/files/3.6/syslog-ng.conf.gentoo.fbsd new file mode 100644 index 000000000000..4e83482b980f --- /dev/null +++ b/app-admin/syslog-ng/files/3.6/syslog-ng.conf.gentoo.fbsd @@ -0,0 +1,24 @@ +@version: 3.6 +# +# Syslog-ng default configuration file for Gentoo FreeBSD +# + +# 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); +}; + +source src { system(); internal(); }; + +destination messages { file("/var/log/messages"); }; + +log { source(src); destination(messages); }; |