Change tomcat.(bat/sh) to move the log file(s) to a new location before
starting the java process. Or, change it to invoke your own Java main
routine which moves the files before calling
org.apache.tomcat.startup.Tomcat.execute().
-- Bill K.
> -----Original Message-----
> From: Amy Sun [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 06, 2001 3:06 PM
> To: [EMAIL PROTECTED]
> Subject: How to keep existing info in tomcat logs at restart
>
>
> Hi. I'm new to tomcat. After playing with it a bit, I find that the
> the log files always get refreshed (initalized) when tomcat
> is restarted.
> This is not desirable for us, because we roll over all of our
> logs nightly
> and would like to keep the existing information in the logs.
> Is there an
> easy way to fix this (e.g. by changing some configuration file)?
>
> Thanks a lot for your help!
>
> -Amy
>