Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Automatically empty Apache error log files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically empty Apache error log files
Authored by: bkazez on Oct 04, '04 01:47:16PM

You can actually do this more elegantly without a cron job. Simply use the CustomLog directive in the Apache configuration file. One example is provided here:

http://httpd.apache.org/docs-2.0/programs/rotatelogs.html

Ben

---
http://ben.kazez.com/



[ Reply to This | # ]