]> 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 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"); };