T
thorsten.druckenmueller
Hi,
I've an Tomcat application running with this log4j configuration.
log4j.rootLogger=INFO, MyFileAppender, MyConsoleAppender
log4j.appender.MyConsoleAppender=org.apache.log4j.ConsoleAppender
log4j.appender.MyConsoleAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.MyConsoleAppender.layout.ConversionPattern=%-4r %d [%t]
%X{sessionId} %-5p %c %x - %m%n
log4j.appender.MyFileAppender=org.apache.log4j.RollingFileAppender
log4j.appender.MyFileAppender.File=ivr.log
log4j.appender.MyFileAppender.MaxFileSize=5000KB
log4j.appender.MyFileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.MyFileAppender.layout.ConversionPattern=%-4r %d [%t]
%X{sessionId} %-5p %c %x - %m%n
First of all, the log outout is not located in the file specified
"ivr.log", it's all in tomcat stdout_xxxx.log Files. The File format is
as expected but Tomcat does'nt care about the MaxFileSize. The logfile
ist growing and growing.
How can I handle this?
/thorsten
I've an Tomcat application running with this log4j configuration.
log4j.rootLogger=INFO, MyFileAppender, MyConsoleAppender
log4j.appender.MyConsoleAppender=org.apache.log4j.ConsoleAppender
log4j.appender.MyConsoleAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.MyConsoleAppender.layout.ConversionPattern=%-4r %d [%t]
%X{sessionId} %-5p %c %x - %m%n
log4j.appender.MyFileAppender=org.apache.log4j.RollingFileAppender
log4j.appender.MyFileAppender.File=ivr.log
log4j.appender.MyFileAppender.MaxFileSize=5000KB
log4j.appender.MyFileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.MyFileAppender.layout.ConversionPattern=%-4r %d [%t]
%X{sessionId} %-5p %c %x - %m%n
First of all, the log outout is not located in the file specified
"ivr.log", it's all in tomcat stdout_xxxx.log Files. The File format is
as expected but Tomcat does'nt care about the MaxFileSize. The logfile
ist growing and growing.
How can I handle this?
/thorsten