You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Jason M. Kuhlman" <jk...@oglecounty.org> on 2003/07/14 19:44:56 UTC
[users@httpd] Upgrading 2 Apache2
Hello list,
I am trying to upgrade from 1.3 to 2.0. I have set my server set up to
rotate logs every 3 days as shown below. I am having problems configuring
2.0 to rotate log logs. I would like to keep the combined format in the
rotated log files. Any help would be appreciated
I have looked at
CustomLog "|bin/rotatelogs /var/logs/logfile 86400" common but my win2K
machine seem to like it
Any help would be appreciated
Thanks
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog C:/ServerLogs/Apache/access.log combined
Transferlog "|rotatelogs C:/ServerLogs/Apache/wwwserver 259200"
---------------------------------------------------------------------
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