mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-29 13:22:21 +01:00
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.
12 lines
316 B
Diff
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
|