sorry, forgot to add the FileNamePattern<br><br>logs/%d{yyyy/MM/dd/hh.}log.log<br><br>Yigit<br><br><div class="gmail_quote">On Wed, Jul 29, 2009 at 17:29, Ceki Gulcu <span dir="ltr">&lt;<a href="mailto:ceki@qos.ch">ceki@qos.ch</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hekki Yigit,<br>
<br>
and if you set what ?<br>
<br>
yigit darcin wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
*<br>
*<div><div></div><div class="h5"><br>
Hello,<br>
<br>
I was about to ask how to do a timebasedrollingpolicy in RollingFileAppender,<br>
<br>
and I found out that if you give your FileNamePattern as /logs/%d{yyyy/MM/dd/}log.log ,<br>
<br>
you will have this wonderful folder hierarchy : logs/2009/05/05/log.log.<br>
<br>
and if you set<br>
<br>
can cause problems in Microsoft and Linux platforms but, that can be fixed easily.<br>
<br>
I am just sending this message to thanks for this very helpful library as it fixed my problems with Prudent mode also.<br>
<br>
Cheers,<br>
<br>
Yigit.<br>
</div></div></blockquote><font color="#888888">
<br>
<br>
-- <br>
Ceki Gülcü<br>
Logback: The reliable, generic, fast and flexible logging framework for Java.<br>
<a href="http://logback.qos.ch" target="_blank">http://logback.qos.ch</a><br>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://qos.ch/mailman/listinfo/logback-user" target="_blank">http://qos.ch/mailman/listinfo/logback-user</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Yiğit Darçın<br>Prime Teknoloji<br><a href="http://www.prime.com.tr">www.prime.com.tr</a><br>