Forum Moderators: phranque
Just deleting the access and error files doesn't work, they get replaced with a file of the same size with a bunch of junk in it!
The manual shows this code for rotating the logs:
mv access_log access_log.old
mv error_log error_log.old
apachectl graceful
sleep 600
gzip access_log.old error_log.old
But I can't find out where to put this code.
Anyone have a clue on this?