You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by craig franke <cr...@harlingen.tstc.edu> on 2002/09/17 15:33:04 UTC

Re: [users@httpd] Log rotating on WinNT 4.0 SP6 and Apache 1.3.26

Try something similar to the following [this is straight from my httpd.conf file for Apache 2.0.40 on a Win2K box]:

LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog "|bin/rotatelogs.exe c:/apache2/logs/log_access 604800" common

though yours might be something like

TransferLog "|bin/rotatelogs.exe c:/apache/logs/old 86400"


>>> ReznicekM@gytool.cz 09/17/02 02:57AM >>>
Hi All,
	how can I rotate the apache access and error log files on windows. I tried 
to run the .exe rotatelogs and tried putting 'TransferLog "|rotatelogs 
c:/apache/logs/old 86400"' into my httpd.conf but nothing happens.
	Could you please someone help me with this silly problem. Thank you 
every one.

			Bye Milan

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