clamav-users December 2007 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: Re: [Clamav-users] Problem with internal logger

Re: [Clamav-users] Problem with internal logger

From: nikos <nikos_at_nospam>
Date: Fri Dec 28 2007 - 14:49:22 GMT
To: clamav-users@lists.clamav.net


Hello list again.
I solve tho problem.
Stupidly I add freshclam line in root's crontab and it was also running for clamav user cron at the same time!

Sorry for bothering the list.
Nikos

> > UpdateLogFile /var/log/freshclam.log
> > LogSyslog yes

>

If you are using LogSyslog, why do you specify an UpdateLogFile? I would only use Syslog; the internal logger is not a good idea. It locks the log file, so if a "freshclam" process becomes stuck, subsequent freshclams complain. (I have no idea *why* it's necessary to lock the file; if the file is opened in "append" mode and log messages are shorter than PIPE_BUF, no locking should be needed.)

Regards,

David.



Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html