25 lines
705 B
Groff
25 lines
705 B
Groff
@version: 3.3
|
|
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd.3.3,v 1.2 2011/10/04 23:15:44 mr_bones_ Exp $
|
|
#
|
|
# Syslog-ng default configuration file for Gentoo FreeBSD
|
|
#
|
|
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 {
|
|
unix-dgram("/var/run/log");
|
|
internal();
|
|
file("/dev/klog");
|
|
};
|
|
|
|
destination messages { file("/var/log/messages"); };
|
|
|
|
log { source(src); destination(messages); };
|