<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Tyler,<br>
<br>
I think the time and size based rolling is a relativly new feature. It
looks like your logback is too old for using this. Your Jars do not
contain the mentioned class
ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP. So try updating to
the latest logback. I think this would help.<br>
<pre class="moz-signature" cols="72">Matthias</pre>
<br>
Am 07.04.2010 23:51, schrieb Tyler Kocheran:
<blockquote
cite="mid:n2x82ec4e441004071451x8ab8450cl1b675af93dcdea2d@mail.gmail.com"
type="cite"><span class="Apple-style-span"
style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">I
have created a test project to see if I can use logback's size and<br>
time-based rolling policy to roll over to log files as logs get large
and as<br>
time passes. However, I cannot get it to roll over. It instead always
logs<br>
to the file I've specified in the <file> tag.<br>
<br>
I have attached my project's full, ant-buildable source code to show my
code<br>
and to possibly help get the ball rolling on figuring all of this out.
Can<br>
anyone help me get time/size based file rolling working?</span>
<div><span class="Apple-style-span"
style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br>
<a moz-do-not-send="true"
href="http://old.nabble.com/file/p28171419/logback.zip" target="_blank"
style="color: rgb(28, 81, 168);">http://old.nabble.com/file/p28171419/logback.zip</a> (This
is the Java project)</span></div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Logback-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a>
<a class="moz-txt-link-freetext" href="http://qos.ch/mailman/listinfo/logback-user">http://qos.ch/mailman/listinfo/logback-user</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>