[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with log rotation



Christian Schwarz <schwarz@monet.m.isar.de> writes:

> I've got a problem with log rotating in my isdnutils package:
> 
> The daemon (isdnlog) writes a view log files (in /var/log/isdn) which
> should be rotated, so that they don't consume much disk space. However,
> the daemon doesn't close these files if idle, so I can't just rotate the
> files, since the gzip would damage the files (I actually tried this ;-)
> 
> So what's the best solution to this problem?

Usually there's some way to restart the daemon, like sending it a
SIGHUP.  After you rotate the files with savelog, restart the daemon.


Guy

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: