httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark A. Craig" <mark.a.cr...@gmail.com>
Subject Re: [users@httpd] Apache 2.2, rotatelogs.exe, and Windows
Date Tue, 18 Sep 2007 17:39:53 GMT
So this leads me to ask again, what are all of you successful 2.2.4 admins using 
to rotate your logs?  If the piping mechanism is broken, at least in the Windows 
binary, then what other technique(s) are people using?  Task Scheduler with a 
batch or CMD file?

So far I've been manually rotating the logs, but I'd understandably like to 
automate it.

Mark

-------- Original Message  --------
Subject: Re: [users@httpd] Apache 2.2, rotatelogs.exe, and Windows
From: William A. Rowe, Jr. <wrowe@rowe-clan.net>
To: users@httpd.apache.org
Date: Tuesday, September 18, 2007 08:37:29 AM

> Norman Peelman wrote:
>>  I am unsure of what would be causing your Unicode issues, sorry. That
>> being said.. i've heard/read that there are issues with rotatelogs on
>> W32 platforms. I have successfully used rotatelogs on my old XP box
>> after alot of hassle. What I found for me was that I had to use the full
>> path like so:
>>
>> ErrorLog "|G:/mydir/apache2/bin/rotatelogs.exe
>> G:/mydir/apache2/logs/my-error_log(%m-%d-%Y_%H-%M-%S).log 86400"
> 
> That would have worked for 2.0, not under 2.2.  Actually 2.2.6 gets this
> right but was flawed in a different way, 2.2.7 will have all the ducks
> in a row at last.
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message