foldering mechanism in timebasedrolling

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.

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

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

What will cause easily fixable problems in Microsoft and Linux platforms? yigit darcin wrote:
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

The file seperator may behave differently but I haven't test it. I used it only in windows. So if you have 2 apps running in different platforms that uses the same fileNamePattern, that may cause a problem. Yigit. On Jul 29, 2009, at 5:49 PM, Ceki Gulcu wrote:
What will cause easily fixable problems in Microsoft and Linux platforms?
yigit darcin wrote:
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
participants (2)
-
Ceki Gulcu
-
yigit darcin