From: Marcin Krol Date: Mon, 3 Dec 2018 12:30:03 +0000 (+0000) Subject: - log postgresql to separate directory with defined name as log filename X-Git-Url: https://git.tld-linux.org/?p=packages%2Fsyslog-ng.git;a=commitdiff_plain;h=b450dc6c46ad109f15c0892cb4edc4478f01b34b - log postgresql to separate directory with defined name as log filename --- diff --git a/syslog-ng.conf b/syslog-ng.conf index a6069d4..59cb7ff 100644 --- a/syslog-ng.conf +++ b/syslog-ng.conf @@ -47,7 +47,7 @@ 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_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"); }; diff --git a/syslog-ng.spec b/syslog-ng.spec index 7957819..75590aa 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: 1 +Release: 2 License: GPL v2+ with OpenSSL exception Group: Daemons Source0: https://github.com/balabit/syslog-ng/archive/%{name}-%{version}.tar.gz