You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jon Chau <jo...@gmail.com> on 2005/10/25 19:19:32 UTC

JK.Log Rotation In Windows

Hello,

I cannot figure out a way to rotate my jklogfile.  I tried searching
the archives, but could not find an answer specific to windows, but I
did find something by adding some java to the tomcat server.xml file,
but that does not apply to me.  Here's why:

Apache 2.0.54 Win32 + mod_jk 1.2.14 + openssl v.0.9.8 on Windows 2003 [DMZ]
Tomcat 5.0.28 on Windows 2000 [Internal Server]

Apache and the mod_jk/jk.log is on a seperate server than Tomcat. 
Does anyone have any suggestions on how to accomplish log rotation in
windows on my apache server for the jk.log?  I tried using apache
methods (rotatelogs) and was unsuccesful.

Thanks In Advance,

Jon Chau

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JK.Log Rotation In Windows

Posted by Peter Rossbach <pr...@objektpark.de>.
Following Config works for me :-)

JkLogFile "|bin/rotatelogs.exe logs/mod_jk.%Y-%m-%d-%H_%M_%S.log 5M"

Regards
Peter

Jon Chau schrieb:

>Hello,
>
>I cannot figure out a way to rotate my jklogfile.  I tried searching
>the archives, but could not find an answer specific to windows, but I
>did find something by adding some java to the tomcat server.xml file,
>but that does not apply to me.  Here's why:
>
>Apache 2.0.54 Win32 + mod_jk 1.2.14 + openssl v.0.9.8 on Windows 2003 [DMZ]
>Tomcat 5.0.28 on Windows 2000 [Internal Server]
>
>Apache and the mod_jk/jk.log is on a seperate server than Tomcat. 
>Does anyone have any suggestions on how to accomplish log rotation in
>windows on my apache server for the jk.log?  I tried using apache
>methods (rotatelogs) and was unsuccesful.
>
>Thanks In Advance,
>
>Jon Chau
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org