]> TLD Linux GIT Repositories - packages/syslog-ng.git/commitdiff
- log postgresql to separate directory with defined name as log filename
authorMarcin Krol <hawk@tld-linux.org>
Mon, 3 Dec 2018 12:30:03 +0000 (12:30 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 3 Dec 2018 12:30:03 +0000 (12:30 +0000)
syslog-ng.conf
syslog-ng.spec

index a6069d4b6f258b9309e5eeffc810cff802764000..59cb7ff4f91df1192471083034048ca4feebd080 100644 (file)
@@ -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"); };
index 7957819718075c0bd4d81f03cd9374cf7165ef79..75590aa36d61b4edb195dede79601041b0749ab3 100644 (file)
@@ -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