Rotate other logs with rotatelogs.exe
Posted
by
Vidyadhar
on Server Fault
See other posts from Server Fault
or by Vidyadhar
Published on 2012-08-21T20:11:33Z
Indexed on
2012/08/30
3:40 UTC
Read the original article
Hit count: 531
On my machine there is some process which is writing a log in C:\Application.log. Now I want to rotate the logs file without stopping that application. On the same machine I have apache 2.2. As I know we can use apache's rotatelogs.exe, but it is not rotating the log file
I am using following syntax to rotate the log file:
C:\Apache\bin\rotatelogs.exe C:\Application.log 20M
Need expert opinion to achieve this.
© Server Fault or respective owner