You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by fachhoch <fa...@gmail.com> on 2010/10/29 19:03:43 UTC

log4j creates several log files 1

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: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org