Hi Richared, The problem I have ist not "localhost_log" That works pretty good. Hier ist my configuration:
++++++++++++++++++++++ more log4j.properties log4j.rootLogger=info, R log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=${CATALINA_HOME}/logs/tomcat.log log4j.appender.R.MaxFileSize=2MB log4j.appender.R.MaxBackupIndex=50 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n log4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost]=INFO, R ++++++++++++++++++++++ My Problem is the file catalina.out which is defined in catalina.sh. Any idea? Thnak you very MUCH. Regards, Aliye -----Ursprüngliche Nachricht----- Von: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 28. Januar 2005 15:36 An: Tomcat Users List Betreff: RE: catalina.out Edao Aliye wrote: > Hi all, > > Is there any way i can tell tomcat to limit the file catalina.out > in $CATALINA_HOME/logs to for example 2MB in Tomcat 5.5.4?? > > Please help! > > Thanks in advance It's in the 5.5 documentation how to limit log size and to rotate: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html - Richard --------------------------------------------------------------------- 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]