You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Melanie Pfefer <me...@yahoo.co.uk> on 2009/07/16 11:37:46 UTC

[users@httpd] log rotation

hi folks,

could you please advise on what solutions (preferably without using third-party tool) you use to rotate apache logs?

I see rotatelogs under bin/ Could you please advise on its usage?

Is there a config option in httpd.conf we can benefit from to rotate logs?


thanks


      

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

Posted by Tom Evans <te...@googlemail.com>.
On Thu, 2009-07-16 at 09:37 +0000, Melanie Pfefer wrote:
> hi folks,
> 
> could you please advise on what solutions (preferably without using third-party tool) you use to rotate apache logs?
> 
> I see rotatelogs under bin/ Could you please advise on its usage?
> 
> Is there a config option in httpd.conf we can benefit from to rotate logs?
> 
> 
> thanks
> 

See http://httpd.apache.org/docs/2.2/logs.html#rotation
and http://httpd.apache.org/docs/2.2/logs.html#piped
and http://httpd.apache.org/docs/2.2/programs/rotatelogs.html

Cheers

Tom


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