I have a log4j file as such
log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
log4j.appender.file.File=uUCMS.log
log4j.appender.file.DatePattern='.'yyyy-MM-dd
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d [%t] %p %c %x - %m%n
But the file fails to roll over? Not sure why?
log4j:ERROR Failed to rename [uUCMS.log] to [uUCMS.log.2008-01-11].|#]
is what apears in the server.log
Is there a better way to do this with JDK logging?
[Message sent by forum member 'ericchile' (ericchile)]
http://forums.java.net/jive/thread.jspa?messageID=253904