logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CRISTINA LOPEZ" <cris...@hotmail.com>
Subject DailyRollingFileAppender not rolling
Date Tue, 15 Apr 2003 08:21:32 GMT
Hi! I have a problem with the DailyRollingFileAppender. This is my 
configuration:

log4j.rootLogger=DEBUG,AERROR

############################################################


log4j.category.log.error=DEBUG, AERROR
log4j.appender.AERROR=org.apache.log4j.DailyRollingFileAppender
log4j.appender.AERROR.Append=true
log4j.appender.AERROR.DatePattern=.yyyy-MM-dd-HH-mm
log4j.appender.AERROR.File=myfile.log
log4j.appender.AERROR.layout=org.apache.log4j.PatternLayout
log4j.appender.AERROR.layout.ConversionPattern=%d{dd/MM/yyyy HH:mm:ss,SSS} 
%t %-5p %c{1} %m%n


The messages are writting in myfile.log  but the logs files are not rolling.

I´ve tried to roll the files with RollingFileAppender and then it´s ok but 
not with DailyRollingFileAppender.

Can anybody help me?

Thank you very much.

Sorry for my bad English




_________________________________________________________________
Hipotecas para todos los bolsillos con MSN Money. 
http://money.msn.es/hipotecas/default.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message