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.log
deleted, filefoo.max-1.log
renamedfoo.max.log
, filefoo.max-2.log
renamedfoo.max-1.log
, , on, filefoo.min+1.log
renamedfoo.min+2.log
. lastly, active filefoo.log
renamedfoo.min.log
, new active file namefoo.log
created.
Comments
Post a Comment