httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Santelli <santel...@yahoo.com>
Subject [users@httpd] Re: logrotate - two access_logs
Date Tue, 19 Nov 2002 14:26:08 GMT
Thanks!  I ended up with:

CustomLog "|/prod/apache/bin/rotatelogs
/prod/apache/logs/access_log 604800" combined

...and that appears to be working.

> On Mon, 18 Nov 2002, Joshua Santelli wrote:
> >   LogFormat "%h %l %u %t \"%r\" %>s %b 
> \"%{Referer}i\"
> > \"%{User-Agent}i\"" combined
> >   CustomLog /prod/apache/logs/access_log combined
> >   TransferLog "|/prod/apache/bin/rotatelogs
> 
> Please read the docs on TransferLog and CustomLog. 
> You will find that
> they are essentially the same directive, the only 
> difference being that
> CustomLog allows you to specify the format
explictly, 
> while TransferLog
> doesn't.
> 
> So remove the TransferLog directive and replace the 
> CustomLog directive with
> 
> CustomLog "|/prod/apache/bin/rotatelogs" combined
> 
> Joshua.

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com

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