On Sun, 2007-04-01 at 22:00 +0200, Tom Schmitt wrote: > Some logfiles are rotated with logrotated, which is > quite confortable. But the syslogd-logfiles have their > own script to rotate them. > > My question: Is there a goog reason for this or could I > delete the syslog-script and rotate the syslog-logfiles > with the logrotated too?
I would guess those scripts was written before logrotate, and if it's not broken... There's actually a wishlist bug open for syslog to use logrotate, #44523, over seven years without a response from the maintainer ;-) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=44523 > And a second question to this matter: > The syslog-script is restarting the syslogd every day. > This seemes very odd to me. For what purpose is this? > Why shouldn't I let run syslogd all the time (as long > as I didn't change the config)? Isn't this done after the log file was rotated? If so, it's needed so it can find the log file again and start writing to it. -- Cheers, Sven Arvidsson http://www.whiz.se PGP Key ID 760BDD22
signature.asc
Description: This is a digitally signed message part