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/01/28 18:04:54 UTC

[users@httpd] Rotate logs in WIN2K

Hello list
I have been searching the archives but can't find out how to rotate logs on
win2k server. I would like to rotate them either weekly or monthly. How do I
do this?

Jason M. Kuhlman
GIS Specialist
Ogle County
1989 IL Route 2 South
Oregon, IL 61061
phone: 815.732.2851
fax: 815.732.9094


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


Re: [users@httpd] Rotate logs in WIN2K

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
At 11:04 AM 1/28/2003, Jason M. Kuhlman wrote:
>Hello list
>I have been searching the archives but can't find out how to rotate logs on
>win2k server. I would like to rotate them either weekly or monthly. How do I
>do this?

The other how-to reply you got is correct.

However, access log rotation is broken for Apache 2.0.44.  Worked back 
in .43 and should be fixed before .45 goes out the door.  Error log rotation
is working fine.

Bill



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


RE: [users@httpd] Rotate logs in WIN2K

Posted by Bryan Lipscy <x4...@monroe.net>.
The man page: http://httpd.apache.org/docs/programs/rotatelogs.html

TransferLog "|rotatelogs /path/to/logs/access_log 86400"

86400 represents one day (60 seconds * 60 minutes * 24 hours).
Multiply by 7 for one week.

Replace /path/to/logs with somethings like
f:/this/is/the/path/to/my/logs/on/W2k

Bryan

-----Original Message-----
From: Jason M. Kuhlman [mailto:jkuhlman@oglecounty.org] 
Sent: Tuesday, January 28, 2003 9:05 AM
To: users@httpd.apache.org
Subject: [users@httpd] Rotate logs in WIN2K


Hello list
I have been searching the archives but can't find out how to rotate logs
on win2k server. I would like to rotate them either weekly or monthly.
How do I do this?

Jason M. Kuhlman
GIS Specialist
Ogle County
1989 IL Route 2 South
Oregon, IL 61061
phone: 815.732.2851
fax: 815.732.9094


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