logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From val <yuri1...@tlen.pl>
Subject Re: How create 1 log file for a day?
Date Mon, 04 Dec 2006 15:37:53 GMT


Since last time i used

Configuration for LOG4CXX 0.9.7:

log4j.rootLogger=DEBUG, R
log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R.File=output/temp
log4j.appender.R.DatePattern=.%Y-%m-%d-%H-%M
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d{%Y-%m-%d %H:%M:%S,%Q} [%t] %-5p
%.16c - %m%n

it works very well. But now i use version 0.10.0 
and this configuration doesn't work wel:
log4j.rootLogger=DEBUG, R
log4j.appender.R=org.apache.log4j.rolling.RollingFileAppender
log4j.appender.R.File=output/temp
log4j.appender.R.DatePattern=.%Y-%m-%d-%H-%M
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS} [%t]
%-5p %.16c - %m%n

What is difference between 0.9.7 and 0.10.0 for DailyRollingFileAppender
Configurator.
-- 
View this message in context: http://www.nabble.com/How-create-1-log-file-for-a-day--tf2195568.html#a7680622
Sent from the Log4cxx - Users mailing list archive at Nabble.com.


Mime
View raw message