This is a discussion on Effective log rotation in Windows within the Apache Web Server forums, part of the Web Server and Related Forums category; Is there any log rotation solution for Apache 2.2 that works under Windows without a flaw? The bundled rotatelogs....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Is there any log rotation solution for Apache 2.2 that works under
Windows without a flaw? The bundled rotatelogs.exe utility tends to collapse the computer with idle/zombie processes. Some googling has showed me that I'm not the only one and that also other solutions like cronolog suffer from the same issue. I found an Ápache module at http://www.sitebuddy.com/mod_log_rotate but there doesn't seem to be binaries for Apache version later than 2.2.3; I've tried that one but it won't let Apache start. I'm currently using 2.2.8 and would like to have the possibility of upgrading when newer versions come out. So, what does people normally do? A *.bat script like this? net stop Apache2.2 move *.log *.log.1 net start Apache2.2 -- -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain -- Mi sitio sobre programación web: http://bits.demogracia.com -- Mi web de humor al baño María: http://www.demogracia.com -- |
|
|||
|
"Ãlvaro G. Vicario" wrote:
> > Is there any log rotation solution for Apache 2.2 that works under > Windows without a flaw? > > The bundled rotatelogs.exe utility tends to collapse the computer with > idle/zombie processes. Some googling has showed me that I'm not the > only one and that also other solutions like cronolog suffer from the > same issue. Yes, had the same issue as well, but Windows needed a reboot anyway often enough ... > I found an Ãpache module at http://www.sitebuddy.com/mod_log_rotate > but there doesn't seem to be binaries for Apache version later than > 2.2.3; I've tried that one but it won't let Apache start. I'm > currently using 2.2.8 and would like to have the possibility of > upgrading when newer versions come out. > > So, what does people normally do? A *.bat script like this? Switch to an operating system. Felix |