X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=syslog-ng-simple.conf;h=cfcb393402f1b36c40b4c6fd4584c9b9d301e204;hb=HEAD;hp=f445656280c29b22f728d669eb0faffd7d5d4ea5;hpb=70014d1e26d9629e6c9212e2b09582916ce4cbec;p=packages%2Fsyslog-ng.git diff --git a/syslog-ng-simple.conf b/syslog-ng-simple.conf deleted file mode 100644 index f445656..0000000 --- a/syslog-ng-simple.conf +++ /dev/null @@ -1,53 +0,0 @@ -@version: 3.6 -# -# Syslog-ng configuration for TLD Linux -# -# See syslog-ng(8) and syslog-ng.conf(5) for more information. -# - -options { - flush_lines(0); - owner(root); - group(logs); - perm(0640); - create_dirs(yes); - dir_owner(root); - dir_group(logs); - dir_perm(0750); - stats_freq(43200); - time_reopen(10); - time_reap(360); - mark_freq(600); - threaded(yes); -}; - -source s_sys { - file ("/proc/kmsg" program_override("kernel")); - unix-stream("/dev/log" max-connections(1000) log_iw_size(100000)); - internal(); -}; - -destination d_mail { file("/var/log/maillog"); }; -destination d_messages { file("/var/log/messages"); }; -destination d_kern { file("/var/log/kernel"); }; -destination d_console_all { file("/dev/tty12"); }; - -#destination d_loghost { udp("loghost" port(514)); }; - -filter f_kern { facility(kern); }; -filter f_mail { facility(mail); }; - -log { source(s_sys); filter(f_kern); destination(d_kern); }; -log { source(s_sys); filter(f_mail); destination(d_mail); }; - -# This is a catchall statement, and should catch all messages which were not -# accepted any of the previous statements. -# If using d_console_all or network logging, remove flags(fallback); -log { source(s_sys); destination(d_messages); flags(fallback); }; -#log { source(s_sys); destination(d_messages); }; - -# Log all messages to tty12 -#log { source(s_sys); destination(d_console_all); }; - -# Network syslogging -#log { source(s_sys); destination(d_loghost); };