This one time, at band camp, Robert McQueen said:
> I've only got the clamav-milter package installed, and not
> clamav-daemon, and I noticed today when configuring munin that my
> /var/log/clamav/clamav.log file is written to by clamav-milter, but is
> not being logrotated. I made a file like this:
> 
> r...@sigma:~# cat /etc/logrotate.d/clamav-milter 
> /var/log/clamav/clamav.log {
>       rotate 12
>       weekly
>       compress
>       delaycompress
>       create 640 clamav adm
>       postrotate
>               pkill -USR1 -o clamav-milter 
>       endscript
> }
> 
> This seemed to work on my system, but I guess this really means
> logrotate file should be in the clamav-base package with the missingok
> keyword in case neither the daemon nor the milter are installed.

Thanks for the report.  I'm looking over 0.95 rc1 now, and it looks like
the milter is going to ship it's own config file (finally!) with logging
options in it.  So for 0.95, we're likely to ship a clamav-milter.log
and a logrotate file for that.  Expect 0.95 in the next few weeks.

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [email protected] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-clamav-devel

Reply via email to