ladha a écrit :

Thanks for your reply.
Can you please tell me, How should I change te logrotate.conf file.


My /etc/logrotate.conf  is :
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
   monthly
   create 0664 root utmp
   rotate 1
}
# system-specific logs may be also be configured here.

My /etc/logrotate.d/clamd is :
#
# Rotate Clam AV daemon log file
#
/var/log/clamav/clamd.log {
missingok
nocompress
create 640 clamav clamav
postrotate
/bin/kill -HUP `cat /var/run/clamav/clamd.pid 2> /dev/null` 2> /dev/null || true
endscript
}



-- ____________________ :-) ___________________

Sylvain Bouchet, CCI de l'Aisne
Responsable du Service Informatique
mailto:[EMAIL PROTECTED]
_____________________________________________


_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to