[logback-user] foldering mechanism in timebasedrolling

Ceki Gulcu ceki at qos.ch
Wed Jul 29 16:29:37 CEST 2009


Hekki Yigit,

and if you set what ?

yigit darcin wrote:
> *
> *
> 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.


-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch


More information about the Logback-user mailing list