i am  using log4j is it working file, with following configuration
log4j.appender.dest4=org.apache.log4j.DailyRollingFileAppender
log4j.additivity.dest4=false
log4j.appender.dest4.File=debuglog.txt
log4j.appender.dest4.DatePattern='.'yyyy-MM-dd
log4j.appender.dest1.ImmediateFlush=true
log4j.appender.dest4.layout=org.apache.log4j.PatternLayout
log4j.appender.dest4.layout.ConversionPattern=[%-5p]-(%c:%L)-%m%n

Logging is working fine, all log write into debuglog.txt file,  after 2 to 3
hours  its started logging into last   day of log file  Intended of  current
log file. 

-- 
View this message in context: 
http://www.nabble.com/logging-start-on-last-log-file-intended-of-current-log-file-tp21433602p21433602.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to