Re: Size Based Rolling

2014-06-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Akash, On 6/10/14, 6:14 PM, Akash Jain wrote: > How can we make catalina.out and access logs ( AccessLogsValve) > roll log based on size instead of daily rolling ? Both other replies are incorrect: Tomcat uses no logging system for AccessLogValve a

Re: Size Based Rolling

2014-06-11 Thread Daniel Mikusa
On Wed, Jun 11, 2014 at 2:00 AM, N, Ravikiran wrote: > Tomcat uses log4j for its logging. This is not 100% correct. By default Tomcat does not use Log4j, it uses JULI [1] (for it's internal logging). It can use Log4j if you configure it to though [2]. Hence you can specify how logger should

RE: Size Based Rolling

2014-06-10 Thread N, Ravikiran
Tomcat uses log4j for its logging. Hence you can specify how logger should behave using the configuration file used by log4j. You can specify by adding below in your tomcat config TOMCAT_OPTS="-Dlog4j.configuration=/my/config/log4j.properties" -Original Message- From: Akash Jain [mailto