httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry A. Copus" <>
Subject Re: [users@httpd] Rotate Access Logs
Date Tue, 17 Aug 2004 05:57:51 GMT
Same environment here. See rotlogs.nlm in the NetWare 6.5 Apache 

Here are the logging directives from my setup:

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 "%h %{User-agent}i" agent
LogFormat "%h %l %u %t \"%V %r\" %>s %b mod_gzip: %{mod_gzip_result}n 
In:%{mod_gzip_input_size}n -< Out:%{mod_gzip_output_size}n = 
%{mod_gzip_compression_ratio}n pct." common_with_mod_gzip_info2

SetEnvIfNoCase Request_URI "default\.ida?|root\.|cmd\.exe" is_attack
CustomLog "|SYS:/APACHE2-UWP/bin/rotlogs.nlm WEB1:/logs/access_log 
86400" common env=!is_attack
CustomLog "|SYS:/APACHE2-UWP/bin/rotlogs.nlm WEB1:/logs/referer_log 
86400" referer env=!is_attack
CustomLog "|SYS:/APACHE2-UWP/bin/rotlogs.nlm WEB1:/logs/agent_log 
86400" agent env=!is_attack
CustomLog "|SYS:/APACHE2-UWP/bin/rotlogs.nlm WEB1:/logs/attack_log 
86400" common env=is_attack
CustomLog "|SYS:/APACHE2-UWP/bin/rotlogs.nlm WEB1:/logs/mod_gzip_log 
86400" common_with_mod_gzip_info2 env=!is_attack

On Aug 16, 2004, at 11:58 PM, suomi wrote:

> Hi Brad
> use cornolog, the most flexible web log rotation tool.
> suomi
> Brad Reichert wrote:
>> I'm running apache 2.0.49a on NetWare 6.5.  With a pervious version of
>> Apache I was able to rotate access logs though a command in http.conf
>> but that doesn't work in 2.0.49.  How can I get them to rotate daily? 
>> I've gotten a suggestion to use cron but I'm not sure what command to
>> schedule on NetWare.
>> Thanks,
>> Brad
                  Jerry A. Copus -- Network Administrator
                   University of Wisconsin - Platteville
"I may not have gone where I intended to go, but I think I have
ended up where I needed to be."

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message