]> TLD Linux GIT Repositories - packages/syslog-ng.git/blobdiff - syslog-ng.conf
- log postgresql to separate directory with defined name as log filename
[packages/syslog-ng.git] / syslog-ng.conf
index 8103f1183e06a92bd84c045c7dd9dd832d692fd9..59cb7ff4f91df1192471083034048ca4feebd080 100644 (file)
@@ -1,4 +1,4 @@
-@version: 3.17
+@version: 3.18
 @include "scl.conf"
 #
 # Syslog-ng configuration for TLD Linux
@@ -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"); };