On Fri, Aug 04, 2006 at 07:07:25PM -0500, Chris said: > On Friday 04 August 2006 12:18 pm, Todd Lyons wrote: > > On Thu, Aug 03, 2006 at 06:09:25PM -0500, Chris wrote: > > >I was looking at my clamav stats file and noticed that it kept giving me > > > the same amount of virus's detected as of 1 Aug. Looking at > > >my /var/log/clamav/clamd.log I noticed that it quit logging on Aug 1. I > > > Actually to keep my clamav stats continuous I removed (actually just moved > it to another folder) the clamd logrotate script from /etc/logrotate.d. > But the way I see it, if when the scripts in logrotate are run and the one > for clamav isn't there then the log should continue on, or am I wrong here?
That seems like a bad idea. First, look at LogFileMaxSize for why clamd stopped writing to the log. Then, teach your stats collector how to keep state across log rotations. Look at logtail if you want a good implementation. -- -------------------------------------------------------------------------- | Stephen Gran | The best cure for insomnia is to get | | [EMAIL PROTECTED] | a lot of sleep. -W.C. Fields | | http://www.lobefin.net/~steve | | --------------------------------------------------------------------------
signature.asc
Description: Digital signature
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html
