You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Maxim Vexler <hq...@gmail.com> on 2005/05/21 14:47:15 UTC

[users@httpd] log rotation for apache 2.0.54 on w2k3 server ?

I know that this is possible on UNIX by simply moving the log file to
a different name,
but on windows I can't do it because the file is locked by Apache.

I've searched the documentation and google with no success.


How can I configure Apache to do log rotation on windows?

Thank you.


-- 
Cheers, 
Maxim Vexler (hq4ever).

Do u GNU ?

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


Re: [users@httpd] log rotation for apache 2.0.54 on w2k3 server ?

Posted by Maxim Vexler <hq...@gmail.com>.
On 5/21/05, Nick Kew <ni...@webthing.com> wrote:
> Maxim Vexler wrote:
> > I know that this is possible on UNIX by simply moving the log file to
> > a different name,
> 
> No, that doesn't do what you think.  Not while apache is running.
> 

Please explain, how does log rotation works then ?

> 
> Did you read the section in the documentation about log rotation?
> 

I have read this page : http://httpd.apache.org/docs/logs.html#rotation
If this is not the page I should have been reading then please point
me to the correct one.


-- 
Cheers, 
Maxim Vexler (hq4ever).

Do u GNU ?

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


Re: [users@httpd] log rotation for apache 2.0.54 on w2k3 server ?

Posted by Nick Kew <ni...@webthing.com>.
Maxim Vexler wrote:
> I know that this is possible on UNIX by simply moving the log file to
> a different name,

No, that doesn't do what you think.  Not while apache is running.

> but on windows I can't do it because the file is locked by Apache.

Did you read the section in the documentation about log rotation?

-- 
Nick Kew

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