S
Seb
Hi all,
I want to use log4j for my application logging with Weblogic 7.0. However,
whatever I adopt the daily rolling or size rolling file appender, log4j
can't rename
and close the old file! This leads to the new log message still being
written on the
same log file. The problem seems due to the weblogic "opening the file" (or
any
other process) and so causing the rename action fails.
Any ideas?
Thanks in advance.
Sebastian
Here is my log4j properties:
log4j.rootCategory=DEBUG, dest1
log4j.appender.dest1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.dest1.DatePattern='.'yyyy-MM-dd
log4j.appender.dest1.File=\log\my.log
log4j.appender.dest1.layout=org.apache.log4j.PatternLayout
log4j.appender.dest1.layout.ConversionPattern=[%d] %t %-5p %c - %m%n
I want to use log4j for my application logging with Weblogic 7.0. However,
whatever I adopt the daily rolling or size rolling file appender, log4j
can't rename
and close the old file! This leads to the new log message still being
written on the
same log file. The problem seems due to the weblogic "opening the file" (or
any
other process) and so causing the rename action fails.
Any ideas?
Thanks in advance.
Sebastian
Here is my log4j properties:
log4j.rootCategory=DEBUG, dest1
log4j.appender.dest1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.dest1.DatePattern='.'yyyy-MM-dd
log4j.appender.dest1.File=\log\my.log
log4j.appender.dest1.layout=org.apache.log4j.PatternLayout
log4j.appender.dest1.layout.ConversionPattern=[%d] %t %-5p %c - %m%n