[logback-user] foldering mechanism in timebasedrolling

yigit darcin ydarcin at gmail.com
Wed Jul 29 16:16:20 CEST 2009


Hello,

I was about to ask how to do a timebasedrollingpolicy in  
RollingFileAppender,

and I found out that if you give your FileNamePattern as /logs/%d{yyyy/ 
MM/dd/}log.log ,

you will have this wonderful folder hierarchy : logs/2009/05/05/log.log.

and if you set

can cause problems in Microsoft and Linux platforms but, that can be  
fixed easily.

I am just sending this message to thanks for this very helpful library  
as it fixed my problems with Prudent mode also.

Cheers,

Yigit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20090729/cfdbfb54/attachment.htm>


More information about the Logback-user mailing list