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

Re: Clamav-Milter not logging properly.



Matus,


Thanks for confirming this problem. I could believe I was the only one
seeing this.

Ken




On Thu, 15 Mar 2007, Matus UHLAR - fantomas wrote:

> Hello,
>
> I was talking to clamav packages maintainer and have some advices from him.
>
> > On 14.03.07 15:36, Account for Debian group mail wrote:
> > > We have the latest version for sarge debian-volatile clamav-daemon,
> > > clamav-milter and clamav-freshclam Version: 0.90.1-0volatile1.
> > >
> > > We have everything working properly except for the "clamav.log" file. It
> > > works fine (logs like it should) when you start it up and it runs fine
> > > till the logs are archived, with logrotate, at 6:30 each morning.
> > >
> > > At that time there is a signal sent to the clamav-daemon init program that
> > > resets the clamav-daemon, but the clamav-milter needs to be reset as well,
> > > and it is not. So all the information about blocked viruses - etc., is not
> > > being recorded in the /var/log/clamav/clamav.log file.
>
> On 15.03.07 11:25, Matus UHLAR - fantomas wrote:
> > I confirm this behaviour, I just found clamav-milter logging to
> > /var/log/clamav/clamav.log.1 ...
> >
> > not even talking about clamav-milter turning debug on even when I have
> > "Debug false" in clamd.conf, not supporting the codumented "-x" option :(
>
> setting "LogVerbose false" helped a bit. however "the milter's log code is
> pretty craptastic" and the milter's maintainer "uses sylog only, so he's
> mostly just not interested in what the logfile output looks like"
>
> > > I have gotten around this by shutting down the sendmail program and
> > > waiting for about 1/2 minute, then doing a forced-restart of the
> > > clamav-milter program and starting the sendmail backup again.
> > >
> > > Does anyone know of a better way of getting the clamav-milter to start
> > > writing to logs again after the logrotate is done each morning?
> >
> > it seems that clamav-milter does not have possibility to reopen log file
> > turn on LogSyslog in /etc/clamav/clamav.conf
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=414993
>
> Until this gets fixed somehow, it would be better to use LogSyslog for
> clamav-daemon and clamav-milter (since they use the same config file).
>
> > ... seems there are more bugs in clamav-milter to report...
>
> until then, you may just use milter without clamd to the syslog shouldn't be
> a problem.
>
> --
> Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> 10 GOTO 10 : REM (C) Bill Gates 1998, All Rights Reserved!
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>



Reply to: