Forum Moderators: phranque

Message Too Old, No Replies

apache proxy

flushing logs

         

ihtfp004

5:57 pm on Jun 7, 2004 (gmt 0)

10+ Year Member



I was just wondering if anyone knew if the apache proxy mod had some command to flush all the access and error logs every day or every week. I don't feel like writing a script to do this if the mod already comes with a function that does this for me.thanks

gergoe

6:44 pm on Jun 7, 2004 (gmt 0)

10+ Year Member



There's no way to do so, the easiest you can do is to periodically rotate the logfiles, with rotatelogs for example. See [httpd.apache.org...]