Re: Disabling catalina.out log

2008-10-20 Thread emerson cargnin
I just did some more tests. What happens is: - Whatever you put in your app log4j property files is what will go to the catalina.out. There is no such thing as getting a catalina.out clean. - You can have a rotateable tomcat.log. But that will be deplicated from what is already in catalina.out Ple

Re: Disabling catalina.out log

2008-10-20 Thread emerson cargnin
Again the issue of the logs. According to: http://tomcat.apache.org/tomcat-5.5-doc/logging.html 1) I add log4j-1.2.15.jar and commons-logging-1.1.1.jar inside my common/lib 2) I create a log4j.properties inside common/classes with the following content: log4j.rootLogger=ERROR, R log4j.append

Re: Disabling catalina.out log

2008-08-21 Thread emerson cargnin
Which are the views of other people in the list? On 21/08/2008, emerson cargnin <[EMAIL PROTECTED]> wrote: > Kees > > That one is another log file, configured at logging.properties: > 1catalina.org.apache.juli.FileHandler.level = INFO > 1catalina.org.apache.juli.FileHandler.directory = ${catalina

Re: Disabling catalina.out log

2008-08-21 Thread emerson cargnin
Kees That one is another log file, configured at logging.properties: 1catalina.org.apache.juli.FileHandler.level = INFO 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs 1catalina.org.apache.juli.FileHandler.prefix = catalina. On 20/08/2008, Kees Jan Koster <[EMAIL PROTECTED

Re: Disabling catalina.out log

2008-08-20 Thread Kees Jan Koster
Dear Emerson, Truncating? It should be a rolling file, rolling over daily. You can just remove the old versions. Is this a stock tomcat, one from the ports, or maybe a particularly old one? catalina.out is set at the catalina.sh: "$CATALINA_BASE"/logs/catalina.out 2>&1 & This file is

Re: Disabling catalina.out log

2008-08-20 Thread emerson cargnin
> Truncating? It should be a rolling file, rolling over daily. You can just > remove the old versions. Is this a stock tomcat, one from the ports, or > maybe a particularly old one? > catalina.out is set at the catalina.sh: >> "$CATALINA_BASE"/logs/catalina.out 2>&1 & This file is not rateable,

Re: Disabling catalina.out log

2008-08-19 Thread Kees Jan Koster
Dear Irwan Hadi, Just curious if anybody knows how to disable tomcat from logging to catalina.out, possibly by editing the server.xml file? check out ${tomcat}/conf/logging.conf True that we can link catalina.out to /dev/null or truncate the file every now and then, but we prefer to use a

Disabling catalina.out log

2008-08-19 Thread Irwan Hadi
Just curious if anybody knows how to disable tomcat from logging to catalina.out, possibly by editing the server.xml file? True that we can link catalina.out to /dev/null or truncate the file every now and then, but we prefer to use a more sane approach, than just truncating the file... Thanks