version bump to 3.7 series
[gentoo.git] / app-admin / syslog-ng / files / 3.7 / syslog-ng.conf.gentoo
1 @version: 3.7
2 # $Id$
3 #
4 # Syslog-ng default configuration file for Gentoo Linux
5
6 # https://bugs.gentoo.org/show_bug.cgi?id=426814
7 @include "scl.conf"
8
9 options { 
10         threaded(yes);
11         chain_hostnames(no); 
12
13         # The default action of syslog-ng is to log a STATS line
14         # to the file every 10 minutes.  That's pretty ugly after a while.
15         # Change it to every 12 hours so you get a nice daily update of
16         # how many messages syslog-ng missed (0).
17         stats_freq(43200); 
18         # The default action of syslog-ng is to log a MARK line
19         # to the file every 20 minutes.  That's seems high for most
20         # people so turn it down to once an hour.  Set it to zero
21         # if you don't want the functionality at all.
22         mark_freq(3600); 
23 };
24
25 source src { system(); internal(); };
26
27 destination messages { file("/var/log/messages"); };
28
29 # By default messages are logged to tty12...
30 destination console_all { file("/dev/tty12"); };
31 # ...if you intend to use /dev/console for programs like xconsole
32 # you can comment out the destination line above that references /dev/tty12
33 # and uncomment the line below.
34 #destination console_all { file("/dev/console"); };
35
36 log { source(src); destination(messages); };
37 log { source(src); destination(console_all); };