Hello,
I am using jdk 1.6 and and log4j.jar.
I have following log4j.properties
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
log4j.logger.icz=DEBUG,iczLog
log4j.appender.iczLog=org.apache.log4j.DailyRollingFileAppender
log4j.appender.iczLog.File=d:\\Java\\LiquidOffice\\LogApp\\log.log
log4j.appender.iczLog.DatePattern='.'yyyy-MM-dd'.log'
log4j.appender.iczLog.layout=org.apache.log4j.PatternLayout
log4j.appender.iczLog.layout.ConversionPattern=%d{dd.MM.yyyy HH\:mm\:ss}
%-5p - %m%n``
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
And I would like to set to this log max file size. But it is not possible,
because it is DailyRollingFileAppender. Max file size I can set it to
RollingFileAppender. But I would like to use DailyRollingFileAppender.
Sometimes happend the file is in one day too big. Is there any possibility
how to set max file size for the log?
Thanks
--
View this message in context:
http://old.nabble.com/set-up-Log4j-tp27533091p27533091.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]