diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-24 11:06:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-24 11:06:22 +0000 |
commit | bde7f799bbcb7b8d926207db4578983e7f2b8cbe (patch) | |
tree | 6948950a0373c8f57c3b59fd5371efc7b25d5edc /main/slony1/default-config.patch | |
parent | 335132a950b4bf6df52d8c064070af7ce55dfc20 (diff) | |
download | aports-bde7f799bbcb7b8d926207db4578983e7f2b8cbe.tar.bz2 aports-bde7f799bbcb7b8d926207db4578983e7f2b8cbe.tar.xz |
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.
Diffstat (limited to 'main/slony1/default-config.patch')
-rw-r--r-- | main/slony1/default-config.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/slony1/default-config.patch b/main/slony1/default-config.patch new file mode 100644 index 0000000000..ebc60f8c2d --- /dev/null +++ b/main/slony1/default-config.patch @@ -0,0 +1,11 @@ +--- ./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 |