Hi Joshua,

On Fri, Oct 06, 2006 at 06:38:58PM +0530, Joshua N Pritikin wrote:
> On Fri, Oct 06, 2006 at 12:44:07PM +0000, Gerrit Pape wrote:
> > If you had once configured many log files, and then change the
> > configuration to fewer log files than before, svlogd won't reduce the
> > number of log files; you would need to remove them manually.  This might
> > be what happens to you.
> 
> I don't remember if this was the case.

do you still see the problem of unexpectectly increasing number of log
files on your system, or my it be that it was a temporary issue due to
some configuration changes.  I did not get any other report of this kind
since then.

> > > > Does the number of logfiles still increase?  If yes, does  `sv hup
> > > > dnscache/log` help?
> > > 
> > > I tried that. It doesn't remove a single file. Here, I'll try it again:
> > 
> > No, it won't remove log files, see above.  The question is whether the
> > number of log files still is increasing, and if so, whether it still
> > increases after sending the SIGHUP.
> 
> It's not increasing but why doesn't svlogd delete extra log files? What 
> is the design justification?

logs is crucial data.  I don't want svlogd to remove possibly tons of log
messages in many log files due to some temporary misconfiguration.  If
you descrease the number of log files in the config file, you can remove
older log manually, and svlogd will adapt.  If you remove them manually,
you really know what you're doing.

Regards, Gerrit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to