tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boris Unckel" <boris.unckel....@gmx.net>
Subject Re: Catalina.out gets to big-> Server crashes
Date Thu, 02 Feb 2006 10:20:08 GMT
Good Morning,

> Does anyone know how configure tomcat so that catalina.out only get a size
> of 100 MB and then replaces it by a new empty catalina.out? The old one
> should be saved under a different name. 
> 
There is information missing:
Which Tomcat Version?
Which logging API is in use?

Assuming Tomcat 5.5.x with default installation and Tomcat JULI in use:
Change to x4juli (see http://www.x4juli.org and the samples in the
distribution for Tomcat) and use a RollingFileHandler.

Without changing to x4juli (or log4j):
Reduce the log level in conf/logging.properties for the FileHandler to
WARNING or SEVERE. You still have the problem that there is no rolling but
the log amount is reduced.

Regards
Boris

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


Mime
View raw message