Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 23:17:51 +1030
From:      Wayne Sierke <ws+freebsd-questions@au.dyndns.ws>
To:        Ruben de Groot <mail25@bzerk.org>
Cc:        Bart Silverstrim <bsilver@chrononomicon.com>
Subject:   Re: log rotation
Message-ID:  <1079354870.663.249.camel@ovirt.dyndns.ws>
In-Reply-To: <20040315123747.GA60751@ei.bzerk.org>
References:  <B0901A16-7614-11D8-96B0-000A956D2452@chrononomicon.com> <1079352005.663.243.camel@ovirt.dyndns.ws> <20040315123747.GA60751@ei.bzerk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2004-03-15 at 23:07, Ruben de Groot wrote:
> On Mon, Mar 15, 2004 at 10:30:05PM +1030, Wayne Sierke typed:
> > On Mon, 2004-03-15 at 10:37, Bart Silverstrim wrote:
> > > Quick questions:
> > > I've run across some mumblings in the ClamAV lists about Clamd not
> > > logging anymore (or not scanning anymore?) when the maximum
> > > logfile size is reached.  Is anyone in FreeBSD running this, and if so,
> > > are you using Newsyslog to rotate the logs?  What are your settings
> > > (how would I set it up)?
> > > 
> > Having recently installed clamav I was interested in getting log
> > rotation enabled too (5.2-RELEASE). As an experiment I set the when
> > entry in newsyslog.conf to 1 hour. After the log rotation I'm not
> > getting any new entries written to the logfile. I believe I saw
> > somewhere someone claiming that logrotate was working for them (but
> > probably on Linux). Might have to try that instead.
> 
> Are you using syslogd for logging (LogSyslog in clamav.conf) ?
> Log rotation through newsyslog is working fine here.
> 
Yes. Here are the entries from clamav.conf:

LogFile /var/log/clamd.log
#LogFileUnlock
#LogFileMaxSize 2M
LogTime
LogSyslog
#LogVerbose

and from newsyslog.conf:

/var/log/clamd.log     clamav:clamav  640  12    999  *     J


Anything significant in there that you can see?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1079354870.663.249.camel>