4 # Syslog-ng default configuration file for Gentoo Linux
6 # https://bugs.gentoo.org/show_bug.cgi?id=426814
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).
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.
25 source src { system(); internal(); };
27 destination messages { file("/var/log/messages"); };
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"); };
36 log { source(src); destination(messages); };
37 log { source(src); destination(console_all); };