Apache logging: rotating logs on Win32?

Posted by Jason S on Server Fault See other posts from Server Fault or by Jason S
Published on 2009-11-10T22:00:52Z Indexed on 2010/05/06 17:08 UTC
Read the original article Hit count: 184

Filed under:
|

I was noticing my disk space disappearing faster than expected, and finally narrowed it down to a rewrite.log file that was 4 GB in size!

Is there a way to rotate the various Apache logs (rewrite, error, access, etc.) on a Win32 PC so that only the most recent entries are there and I can limit the data size that results? I found the bit about log rotation on Apache's website but it's Unix-centric.

Edit: I got rotatelogs.exe to work, and it's great except that it slows the server response down noticably so I rejected the idea of using it.

© Server Fault or respective owner

Related posts about apache

Related posts about logging