3 # Syslog-ng configuration for TLD Linux
5 # See syslog-ng(8) and syslog-ng.conf(5) for more information.
25 file ("/proc/kmsg" program_override("kernel"));
26 unix-stream("/dev/log" max-connections(1000) log_iw_size(100000));
30 destination d_mail { file("/var/log/maillog"); };
31 destination d_messages { file("/var/log/messages"); };
32 destination d_kern { file("/var/log/kernel"); };
33 destination d_console_all { file("/dev/tty12"); };
35 #destination d_loghost { udp("loghost" port(514)); };
37 filter f_kern { facility(kern); };
38 filter f_mail { facility(mail); };
40 log { source(s_sys); filter(f_kern); destination(d_kern); };
41 log { source(s_sys); filter(f_mail); destination(d_mail); };
43 # This is a catchall statement, and should catch all messages which were not
44 # accepted any of the previous statements.
45 # If using d_console_all or network logging, remove flags(fallback);
46 log { source(s_sys); destination(d_messages); flags(fallback); };
47 #log { source(s_sys); destination(d_messages); };
49 # Log all messages to tty12
50 #log { source(s_sys); destination(d_console_all); };
53 #log { source(s_sys); destination(d_loghost); };