I would imagine that tomcat is logging using commons-logging, and that by
default it is outputting to Catalina.out

A suggested solution would be to include for example log4j.jar with a
log4j.properties in the classpath which should control how this log is
produced (consoleAppender output seems to go to Catalina.out)

Saying that, I too have problems not writing to Catalina.out in redhat linux
es3 with tomcat 5.0.25.  Maybe there is a general solution that someone who
has more intricate knowledge of how tomcat logs has??


/michael

-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: 29 March 2005 16:11
To: Tomcat Users List
Subject: Re: Limit catalina.out size

There shouldn't be anything going to standard output (Unless your code is 
writing to System.out)

An overly simple way to rotate logs in unix ...
cd $tomcat_log_dir
cp -f catalina.out catalina.out.`date "+%Y.%m.%d"`
cat /dev/null > catalina.out

-Tim

Jimmy Ray wrote:
> Running on HPUX...SDK 1.4.2...the standard output is
> going to catlaina.out.  Is it possible to change the
> logger settings reduce the size of the catalina.out
> file and perform circular logging?  If so where are
> these settings?
> 
> Regards,
> 
> Jimmy Ray

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to