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 "Shriraghavan, Sowmya" <SS...@ea.com> on 2006/04/26 00:43:42 UTC

Question about RollingFileAppender

Hi all,

 

I need to log files based on size, but instead of rotating them like
RollingFileAppender does (myfile.1, myfile.2 etc), I have to just append
the current timestamp to the rolled file and that's it. So my rolled
over file should look like myfile.04-25-2006-14:20:39.log (where the
file rolled over or exceeded maxfilesize at 2:20PM on 25th April 2006).
Do I need to write my own appender? I am a little confused about the 1.3
RollingFileAppender - I'm using property files and no xml files. I need
this done asap, so I would greatly appreciate any help. 

 

Thanks,

Sowmya