log files not rotating
Randy Paries
rtparies at gmail.com
Tue Feb 14 15:51:46 UTC 2006
Hello,
I have setup a new file in /etc/logrotate.d (see below)
But for some reason the logs are not being rotated
is there some way i can run the logrotate script interactively to see
the failure or is there a log file to look at to see why this is not
working
Thanks
Randy
#cat apache_unitnet
/var/log/httpd/unitnet.com-access_log
/var/log/httpd/unitnet.com-error_log
/var/log/httpd/unitnet_mainaccess.log /var/log/httpd/mod_jk.log
/var/log/httpd/unitnet_spanish.com-access_log
/var/log/httpd/unitnet_spanish.com-error_log /var/log/httpd/tomcat {
daily
compress
rotate 31
missingok
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
endscript
}
More information about the fedora-list
mailing list