This seems to be working now. There is no need for renaming a file unless I
am missing something !

I get one timestamped file for a day.

Now the next step could to combine with a SizeBasedTriggeringPolicy



Mohan.Radhakrishnan wrote:
> 
> TimeBasedRollingPolicy seems to be the solution. Correct me if I am wrong.
> 
> Extract from the doc.
> 
> During November 23rd, 2004, logging output will go to
>  *       the file <code>/wombat/foo.2004-11-23</code>. At midnight and for
>  *       the rest of the 24th, logging output will be directed to
>  *       <code>/wombat/foo.2004-11-24
> 

-- 
View this message in context: 
http://old.nabble.com/RollingFileAppender-not-working-consistently-tp28087307p28216608.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