You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Pelton, James" <Ja...@ascp.org> on 2002/03/16 01:07:02 UTC

RE: Windows Log Rotational Untility???

I must be slow witted: I read the page below, but I didn't understand it.

How does one invoke this application under NT? Is 'transferlogs' a statement
for the httpd.conf file?

james pelton

-----Original Message-----
From: Pete Nelson [mailto:
Sent: Tuesday, February 19, 2002 12:36 PM
To: users@httpd.apache.org
Subject: Re: Windows Log Rotational Untility???


The latest version of Apache for Win32 ships with bin/rotatelogs.exe,
which works just fine on Windows.  Unfortunatly, it rotates based on the
date/time, not by the filesize. 

See http://httpd.apache.org/docs/programs/rotatelogs.html for more info
on rotatelogs.exe

--
Pete Nelson, Web Developer
<pe...@ci.stpaul.mn.us>
http://www.ci.stpaul.mn.us/

>>> c2z4s10@yahoo.com 02/19/02 11:16AM >>>


I am running Apache 1.3.22 on a Windows NT machine and I was attempting
to
set up a log rotation setup based on file size.  I searched far and
wide,
but I have been unable to find software (for WinNT) that would rotate a
log
file based on file size.  Logrotate is only for non Windows (correct?)
and
cronolog doesn't seem to have the feature.  Does anyone know of a
"logrotate" like utility that i can use (on NT) that would allow me to
rotate the file  when it reaches a certain size?

Many Thanks,



---------------------------------------------------------------------
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 
For additional commands, e-mail: users-help@httpd.apache.org 

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.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 
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
For additional commands, e-mail: users-help@httpd.apache.org

Re: Windows Log Rotational Untility???

Posted by Irmund Thum <it...@it97.dyn.dhs.org>.
Pelton, James wrote:

> I must be slow witted: I read the page below, but I didn't understand it.
> 
> How does one invoke this application under NT? Is 'transferlogs' a 
> statement for the httpd.conf file?

did you try

TransferLog "|C:\path\to\rotatelogs.exe c:\path\to\logs value"

you can also use nt-cron, winat or at starting a script who invokes 
rotatelogs.exe, but then you may not have a graceful restart of apache
-- 
_ ___
|  |  Irmund    Thum
|  |


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org