sorry, forgot to add the FileNamePattern

logs/%d{yyyy/MM/dd/hh.}log.log

Yigit

On Wed, Jul 29, 2009 at 17:29, Ceki Gulcu <ceki@qos.ch> wrote:
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
_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://qos.ch/mailman/listinfo/logback-user



--
Yiğit Darçın
Prime Teknoloji
www.prime.com.tr