From: Marcin Krol Date: Mon, 3 Dec 2018 16:40:13 +0000 (+0000) Subject: - drop PostgreSQL logging, by default it logs directly to files now X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=38e682ba26f0b321a928eb25cbcf85bc07321a13;p=packages%2Fsyslog-ng.git - drop PostgreSQL logging, by default it logs directly to files now --- diff --git a/syslog-ng.conf b/syslog-ng.conf index 59cb7ff..1f6be45 100644 --- a/syslog-ng.conf +++ b/syslog-ng.conf @@ -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/postgresql/${PROGRAM}.log"); }; 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 diff --git a/syslog-ng.logrotate b/syslog-ng.logrotate index ca99150..1ab694a 100644 --- a/syslog-ng.logrotate +++ b/syslog-ng.logrotate @@ -7,7 +7,6 @@ /var/log/lpr /var/log/maillog /var/log/messages -/var/log/pgsql /var/log/secure /var/log/spooler /var/log/syslog diff --git a/syslog-ng.spec b/syslog-ng.spec index 75590aa..0571a43 100644 --- a/syslog-ng.spec +++ b/syslog-ng.spec @@ -37,7 +37,7 @@ Summary(pl.UTF-8): Syslog-ng - systemowy demon logujący nowej generacji Summary(pt_BR.UTF-8): Daemon de log nova geração Name: syslog-ng Version: 3.18.1 -Release: 2 +Release: 3 License: GPL v2+ with OpenSSL exception Group: Daemons Source0: https://github.com/balabit/syslog-ng/archive/%{name}-%{version}.tar.gz