syslog log rotation
rra at stanford.edu
Wed Apr 25 14:39:02 UTC 2001
James Ralston <qralston+ml.inn-workers at andrew.cmu.edu> writes:
> My $0.02: integrate it. What INN currently does (zeroing files that
> syslog is actively writing to) is a hack. (Making a setuid-root
> hupsyslogd program is arguably also a hack, but IMO, it's a much cleaner
I'd really hate to put another setuid program into the INN distribution.
Look at how much trouble we've had with the ones that we already have.
The only thing making this hard, and the only reason why we have to rotate
those log files at a known time, is innreport. Makes it tempting to log
all the statistical stuff that innreport cares about via some mechanism
other than syslog. Unfortunately, that's really hard, and it's too easy
to end up just having to reinvent syslog yourself.
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers