You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "\"Crash\" Dummy" <gm...@thedatalist.com> on 2007/08/10 19:06:25 UTC

[users@httpd] Re: Cannot rotate error logs in Apache 2.2.4!

> What is the syntax of the access log rotation that works?

Any of these works.

CustomLog "|L:/apache/bin/rotatelogs -l logs/local 86400" local

CustomLog "|L:/apache/bin/cronolog L:/Apache/logs/local.%Y%m%d.log" local

LoadModule log_rotate_module modules/mod_log_rotate.so
RotateLogs On
RotateLogsLocalTime On
RotateInterval 86400
CustomLog logs/local_log.%Y%m%d local
-- 
Crash
Running: Windows 2000 Pro - Apache 2.2.4 - PHP 5.2.1 - PERL 5.8.8

Reply to group only. E-mail is blocked.




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


[users@httpd] Re: Re: Cannot rotate error logs in Apache 2.2.4!

Posted by "\"Crash\" Dummy" <gm...@thedatalist.com>.
I satisfy those conditions, but it still doesn't work. In fact, Apache won't
even start. Also, it has always worked with the CustomLog directive.

ErrorLog "|L:/apache/logs/cronolog.exe L:/Apache/logs/error.%Y%m%d.log"

The author doesn't say what version of Apache he is running.
-- 
Crash
Running: Windows 2000 Pro - Apache 2.2.4 - PHP 5.2.1 - PERL 5.8.8

Reply to group only. E-mail is blocked.




---------------------------------------------------------------------
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] Re: Cannot rotate error logs in Apache 2.2.4!

Posted by Jeff Beard <je...@cyberxape.com>.
http://forums.devshed.com/showpost.php?p=760527&postcount=2

HTH.

--Jeff

> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of "Crash" Dummy
> Sent: Friday, August 10, 2007 11:06 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] Re: Cannot rotate error logs in Apache 2.2.4!
> 
> > What is the syntax of the access log rotation that works?
> 
> Any of these works.
> 
> CustomLog "|L:/apache/bin/rotatelogs -l logs/local 86400" local
> 
> CustomLog "|L:/apache/bin/cronolog L:/Apache/logs/local.%Y%m%d.log" local
> 
> LoadModule log_rotate_module modules/mod_log_rotate.so
> RotateLogs On
> RotateLogsLocalTime On
> RotateInterval 86400
> CustomLog logs/local_log.%Y%m%d local
> --
> Crash
> Running: Windows 2000 Pro - Apache 2.2.4 - PHP 5.2.1 - PERL 5.8.8
> 
> Reply to group only. E-mail is blocked.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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



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