[logback-user] Adding a timestamp to a FileAppender file

nicolas.giraud at bnf.fr nicolas.giraud at bnf.fr
Thu Oct 30 11:39:00 CET 2008


Thanks for the answer, Hannes. 

However a time-based rollover is not what I am looking for. My program 
executes one job at a time. There are several jobs  whose duration varies 
from a couple of seconds to several hours.  I simply want to log the 
results of a job in a single file, and have the filename contain a 
timestamp.

I will have to do this programmatically obviously, but I'm having trouble 
setting up the file appender programmatically.

Regards,
Nicolas



Avant d'imprimer, pensez à l'environnement. 
Consider the environment before printing this mail.   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20081030/09b1a73b/attachment-0001.htm 


More information about the Logback-user mailing list