Effective log rotation in Windows

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....


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-09-2008
Álvaro G. Vicario
 
Posts: n/a
Default Effective log rotation in Windows

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
--
  #2 (permalink)  
Old 06-09-2008
Felix Saphir
 
Posts: n/a
Default Re: Effective log rotation in Windows

"Ã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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:00 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0