Peter Volkov pva at gentoo.org
Mon Aug 25 17:56:47 PDT 2008
Hello. After installation and deployment slony1 on FreeBSD 6.2-RELEASE
it started to create too many log files
in /var/log/slony/slony1/node{1,2}/. Actually I've noticed that slony
opens new file in every 10 seconds. It occurred that apache rotatelogs
program on FreeBSD does not understand 10M syntax:

$ /usr/local/apache/bin/rotatelogs
Usage: /usr/local/apache/bin/rotatelogs <logfile> <rotation time in
seconds> [offset minutes from UTC]

So in the case /usr/local/apache/bin/rotatelogs was called with 10M as
argument it thought that 10M == 10 seconds. The fix will be to use 600
instead of 10M in /usr/local/lib/slon-tools.pm or even better make this
configurable.

Thank you for your time,
-- 
Peter.



More information about the Slony1-bugs mailing list