On Mon, 02 Feb 2004 11:28:59 +0100 Krištof Petr <[EMAIL PROTECTED]> wrote:
Yes . It is known issue. I reported it many times in last 6 month, but
developers
ignores it. Log rotating never worked.
Unfortunately, I'm not familiar with logrotate. But will check the HUP
handling tonight. Sorry !
Tomasz,
you dont need to lose time with logrotate. This is simple step by step, how to test it:
1) Start clamd
2) Remove clamd's log file
3) Sent SIGHUP to clamd
4a) You will got error Mon Feb 2 13:58:35 2004 -> SIGHUP catched: log file re-opened. Mon Feb 2 13:58:35 2004 -> ERROR: accept() failed.
4b) Clamd should will create new log file and start to log to it.
This is the way the logrotate works. It removes old logfile and sends SIGHUP to clamd to re-create log file and continue logging.
Thanks Petr
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users