Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Goo Sam Kong
Thanks Andre, I saw there is a script doing zip in /etc. I am new to Linux, :-). On 21 April 2010 17:45, André Warnier wrote: > Goo Sam Kong wrote: > >> Hi Pid, >> >> My answer below. >> >> I saw the same file names in another server (not implement log4j yet), >> that >> server is running on de

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread André Warnier
Goo Sam Kong wrote: Hi Pid, My answer below. I saw the same file names in another server (not implement log4j yet), that server is running on default logging (Tomcat Juli). I think Tomcat by default created those extra zip files, I would like to know how to disable that. Tomcat does not crea

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Goo Sam Kong
Hi Pid, My answer below. I saw the same file names in another server (not implement log4j yet), that server is running on default logging (Tomcat Juli). I think Tomcat by default created those extra zip files, I would like to know how to disable that. On 21 April 2010 17:00, Pid wrote: > On 2

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Pid
On 21/04/2010 09:49, Pid wrote: > On 21/04/2010 09:35, Goo Sam Kong wrote: >> Oops, type too fast. I want catalina.out to be rotate daily but Tomcat >> give me extra files (catalina.out.1.gz, catalina.out.2.gz...catalina. >> out.30.gz). I don't want those extra files. Any chance to disable that? >

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Pid
On 21/04/2010 09:35, Goo Sam Kong wrote: > Oops, type too fast. I want catalina.out to be rotate daily but Tomcat > give me extra files (catalina.out.1.gz, catalina.out.2.gz...catalina. > out.30.gz). I don't want those extra files. Any chance to disable that? Sorry, my mistake, I misread your emai

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Goo Sam Kong
Oops, type too fast. I want catalina.out to be rotate daily but Tomcat give me extra files (catalina.out.1.gz, catalina.out.2.gz...catalina. out.30.gz). I don't want those extra files. Any chance to disable that? The extra files are generated by Tomcat by default? I do not specify those file rotat

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Goo Sam Kong
I want catalina.out to be rotate daily but Tomcat give me extra files (catalina.out.1.gz, catalina.out.2.gz...catalina.out.30.gz). I don't those extra files. Any chance to disable that? On 21 April 2010 16:26, Pid wrote: > On 21/04/2010 09:07, Goo Sam Kong wrote: > > Hi, > > > > I am using Log4j

Re: Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Pid
On 21/04/2010 09:07, Goo Sam Kong wrote: > Hi, > > I am using Log4j logging in Tomcat 5.5.16 with JDK 1.5.0 update 7 on RedHat > Linux server. > > I followed the instructions on > http://tomcat.apache.org/tomcat-5.5-doc/logging.html to copy the > commons-logging-1.0.4.jar and log4j.jar into $CATA

Logging Requirement in Tomcat 5.5.16

2010-04-21 Thread Goo Sam Kong
Hi, I am using Log4j logging in Tomcat 5.5.16 with JDK 1.5.0 update 7 on RedHat Linux server. I followed the instructions on http://tomcat.apache.org/tomcat-5.5-doc/logging.html to copy the commons-logging-1.0.4.jar and log4j.jar into $CATALINA_HOME/common/lib directory. and created log4j.proper