aports/main/slony1/default-config.patch
Natanael Copa bde7f799bb main/slony1: fix logrotation
we fix logrotation by only supporting syslog and not redirect the slon
output to a given logfile.

This is becase when redirecting, the only way to do log rotation is restart
the service to reopen the log file. We do not want force restart of service
which will close open connections.
2014-12-24 11:06:22 +00:00

12 lines
316 B
Diff

--- ./share/slon.conf-sample.orig
+++ ./share/slon.conf-sample
@@ -49,7 +49,7 @@
# still go to the standard output/error). The default is 0, which means
# syslog is off.
# Range: [0-2], default: 0
-#syslog=0
+syslog=2
# If true, include the process ID on each log line. Default is false.
#log_pid=false