[logback-user] foldering mechanism in timebasedrolling

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


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 at 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 at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
>



-- 
Yiğit Darçın
Prime Teknoloji
www.prime.com.tr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20090729/b39c7c19/attachment.htm>


More information about the Logback-user mailing list