X-Git-Url: https://git.tld-linux.org/?p=packages%2Fsyslog-ng.git;a=blobdiff_plain;f=syslog-ng.conf;h=7e3afb9a8a88db646de5a7a7d46f7f85ca6070f7;hp=a6069d4b6f258b9309e5eeffc810cff802764000;hb=HEAD;hpb=f3c9c254b0eed71abbc701befcaa9074d155dc61 diff --git a/syslog-ng.conf b/syslog-ng.conf index a6069d4..6380ab8 100644 --- a/syslog-ng.conf +++ b/syslog-ng.conf @@ -1,4 +1,4 @@ -@version: 3.18 +@version: 4.6 @include "scl.conf" # # Syslog-ng configuration for TLD Linux @@ -15,7 +15,7 @@ options { dir_owner(root); dir_group(logs); dir_perm(0750); - stats_freq(3600); + stats(freq(3600)); time_reopen(10); time_reap(360); mark_freq(600); @@ -47,7 +47,6 @@ destination d_user { file("/var/log/user"); }; destination d_ppp { file("/var/log/ppp"); }; destination d_ftp { file("/var/log/xferlog"); }; destination d_audit { file("/var/log/audit"); }; -destination d_postgres { file("/var/log/pgsql"); }; destination d_freshclam { file("/var/log/freshclam.log"); }; destination d_shorewall { file("/var/log/shorewall"); }; destination d_console { usertty("root"); }; @@ -95,7 +94,6 @@ filter p_emergency { level(emerg); }; # Additional filters for specific programs/use filter f_freshclam { program(freshclam); }; filter f_ppp { program(pppd) or program(chat); }; -filter f_postgres { program(postgres); }; filter f_shorewall { facility(kern) and match("Shorewall:" value("MESSAGE")); }; filter f_dhcp { program("dhcpd") or program("dnsmasq-dhcp"); }; @@ -131,7 +129,6 @@ log { source(s_sys); filter(f_uucp); destination(d_uucp); }; log { source(s_sys); filter(p_debug); destination(d_debug); }; log { source(s_sys); filter(f_daemon); filter(f_ppp); destination(d_ppp); }; log { source(s_sys); filter(f_local6); filter(f_freshclam); destination(d_freshclam); }; -log { source(s_sys); filter(f_local0); filter(f_postgres); destination(d_postgres); }; log { source(s_sys); filter(p_emergency); destination(d_console); }; # This is a catchall statement, and should catch all messages which were not