I believe I've figured out one of my frustrations with way slon-tools.pm handles log rotation.
It passes this argument to rotatelogs: "10M". After finding a 25 meg log file, I double checked the docs. It looks like this syntax is meant for rotatelogs as it appears after Apache 2.0. http://httpd.apache.org/docs/2.0/programs/rotatelogs.html I have 'rotatelogs' from an Apache 1.3 distribution. I think in that case, it is being interpreted as "rotate the logs every 10 seconds" ! which exactly explains the behavior I found. Compare: http://httpd.apache.org/docs/1.3/programs/rotatelogs.html Because "rotatelogs" has no "--version" option, I don't think it's possible to determine the version used on the fly. Reasonable choices include: A. documenting that a new rotatelogs is expected B. Use a backwards compatible syntax, which has to be time-based rotation. I prefer "B", because short of getting newsyslog integration working, it works better for me. Replacing "10M" with "86400" would cause rotations every 24 hours. Mark _______________________________________________ Slony1-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/slony1-general
