[UPHPU] apache error log not rotating
Wade Preston Shearer
lists at wadeshearer.com
Mon Sep 3 16:18:32 MDT 2007
> Check in the folder /etc/logrotate.d for any apache files. You
> might have to change the path to the log files.
/etc/logrotate.d/
…did not contain an entry for apache. So, I created a file called
"apache" and am about to put the following into it (composed by using
the example in man logrotate.
/usr/local/apache/logs/access_log /usr/local/apache/error_log / { {
rotate 5
size=100k
sharedscripts
postrotate
/sbin/killall -HUP httpd
endscript
}
Any advice or recommendations? Is that sufficient?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20070903/36b63d8d/smime.bin
More information about the UPHPU
mailing list