logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: Time stamp in file name
Date Fri, 20 Apr 2007 16:02:19 GMT
My DateFormatFileAppender always includes the data pattern in the filename.
http://stauffer.james.googlepages.com/DateFormatFileAppender.java

On 4/20/07, Hjelmstad <jeff.a.hjelmstad@mdnt.com> wrote:
>
> Is there a way that I can add a timestamp to the file name that is not just a
> rolling appender?
> I may start up and stop my software 10 or more times during the course of a
> day and between those I have to remane the log file created manually.
> Does any one know of a way to automatically add a timestamp to the file name
> at the start of the software initialization?
> --
> View this message in context: http://www.nabble.com/Time-stamp-in-file-name-tf3619129.html#a10105185
> 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
>
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message