logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fachhoch <fachh...@gmail.com>
Subject log4j creates several log files
Date Fri, 29 Oct 2010 17:01:18 GMT

here is my log4j configration

     <appender name="A2" class="org.apache.log4j.DailyRollingFileAppender">
    <layout class="org.apache.log4j.PatternLayout">

I am assuming this configration will create    one log file daily with  a
max size of 5Mb and if the log size exceeds it will create another new one.

but in  server I noticed several log files  with the size 3kb , 5kb   etc. 
not even a single   log file is of size 5Mb and a log file for every few
minutes, please tell me what is wrong with my configration .

View this message in context: http://old.nabble.com/log4j-creates-several-log-files-tp30087821p30087821.html
Sent from the Log4j - Users mailing list archive at Nabble.com.

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

View raw message