here is my log4j configration

[code]
     <appender name="A2" class="org.apache.log4j.DailyRollingFileAppender">
         
         
                
        
         
    <layout class="org.apache.log4j.PatternLayout">
      
    </layout>
  </appender>
[/code]

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 .


attached is  my configration file
http://old.nabble.com/file/p30087841/log4j.xml log4j.xml 

-- 
View this message in context: 
http://old.nabble.com/log4j-creates-several-log-files-1-tp30087841p30087841.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