syslog log rotation
Russ Allbery
rra at stanford.edu
Wed Apr 25 20:08:27 UTC 2001
Scott Gifford <sgifford at tir.com> writes:
> It might be possible to use Dan Bernstein's multilog program (from
> daemontools), which requires no special privileges to run. That would
> avoid having a setuid program, and avoid reinventing syslog...
> http://cr.yp.to/daemontools/multilog.html
Yes, I fully intend to modify some parts of INN at some point to be able
to use multilog if one so chooses (it's a bit tricky in some places,
particularly with nnrpd, to do it right, but I think it's possible)
because I already use multilog for almost everything else I run except
INN and because syslogd is taking up a noticeable chunk of CPU time on my
servers.
However, it doesn't entirely fit what innreport wants to do, since
innreport checks messages from a bunch of different programs. With
multilog, you really can't send more than one program's messages to a
given log file, which makes this a lot more complicated. And there's
really no good, non-ugly way of taking care of programs like innxmit that
are invoked from cron or by hand.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers
mailing list