java - Maxindex in FixedWindowrollingpolicy -
i want know if maxindex reached in case of fixedwindowrollingpolicy. writes logs.
i using , given maxindex 10. once reaches 10. not able find logs writing?
please help....
according documentation of class org.apache.log4j.rolling.fixedwindowrollingpolicy, files deleted. not written anywhere else.
let max , min represent values of respectively maxindex , minindex options. let "foo.log" value of activefile option , "foo.%i.log" value of filenamepattern. then, when rolling over, file
foo.max.logdeleted, filefoo.max-1.logrenamedfoo.max.log, filefoo.max-2.logrenamedfoo.max-1.log, , on, filefoo.min+1.logrenamedfoo.min+2.log. lastly, active filefoo.logrenamedfoo.min.log, new active file namefoo.logcreated.
Comments
Post a Comment