<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns0="http://schemas.microsoft.com/office/2004/12/omml">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}
pre
        {mso-style-priority:99;}
span.HTMLPREFORMATTEDCHAR
        {mso-style-priority:99;}

 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0pt;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {font-family:Consolas;}
p.HTMLPreformatted, li.HTMLPreformatted, div.HTMLPreformatted
        {margin:0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle27
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle28
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=FR link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>That is exactly my point:
You set up the maxhistory for the current file<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>It is what you intend or
do you want that option only for the archives?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>If only for the archive,
you should then relocate your option into the &lt;</span></font><font size=2
color="#3f7f7f" face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:#3F7F7F'>TimeBasedFileNamingAndTriggeringPolicy&gt;
node. Same level as &lt;MaxFileSize&gt; node.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>Otherwise,
if only for the current log file, see which version you have, I remember that a
bug issue has been known on log file history not being deleted.</span></font><font
size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>De&nbsp;:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
logback-user-bounces@qos.ch [mailto:logback-user-bounces@qos.ch] <b><span
style='font-weight:bold'>De la part de</span></b> Ayman Hammoudeh<br>
<b><span style='font-weight:bold'>Envoyé&nbsp;:</span></b> jeudi 1 octobre 2009
15:31<br>
<b><span style='font-weight:bold'>À&nbsp;:</span></b> <st1:PersonName w:st="on">logback
 users list</st1:PersonName><br>
<b><span style='font-weight:bold'>Objet&nbsp;:</span></b> Re: [logback-user]
urgent explination issue</span></font><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;color:#1F497D'>This is the way I&#8217;am doing it
but&nbsp; its not working .<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;color:#1F497D'>Here is my xml configuration :<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F;
background:silver'>configuration</span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&gt;</span></font><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp; </span></font><font size=2 color=teal face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</span></font><font
size=2 color="#3f7f7f" face="Courier New"><span lang=EN-US style='font-size:
10.0pt;font-family:"Courier New";color:#3F7F7F'>appender</span></font><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New"'> <font color="#7f007f"><span style='color:#7F007F'>name</span></font><font
color=black><span style='color:black'>=</span></font><i><font color="#2a00ff"><span
style='color:#2A00FF;font-style:italic'>&quot;ROLLING&quot;</span></font></i> <font
color="#7f007f"><span style='color:#7F007F'>class</span></font><font
color=black><span style='color:black'>=</span></font><i><font color="#2a00ff"><span
style='color:#2A00FF;font-style:italic'>&quot;ch.qos.logback.core.rolling.RollingFileAppender&quot;</span></font></i><font
color=teal><span style='color:teal'>&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp; </span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>rollingPolicy</span></font><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New"'> <font color="#7f007f"><span style='color:#7F007F'>class</span></font><font
color=black><span style='color:black'>=</span></font><i><font color="#2a00ff"><span
style='color:#2A00FF;font-style:italic'>&quot;ch.qos.logback.core.rolling.TimeBasedRollingPolicy&quot;</span></font></i><font
color=teal><span style='color:teal'>&gt;</span></font><font color=black><span
style='color:black'> </span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp; </span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>FileNamePattern</span></font><font
size=2 color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;</span></font><u><font size=2
color=black face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:black'>mylog</span></font></u><font size=2
color=black face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:black'>-%d.%i.log</span></font><font size=2
color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&lt;/</span></font><font size=2
color="#3f7f7f" face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:#3F7F7F'>FileNamePattern</span></font><font
size=2 color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;</span></font><font size=2
color=black face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:black'> </span></font><font size=2
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp; </span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>TimeBasedFileNamingAndTriggeringPolicy</span></font><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New"'> <font color="#7f007f"><span style='color:#7F007F'>class</span></font><font
color=black><span style='color:black'>=</span></font><i><font color="#2a00ff"><span
style='color:#2A00FF;font-style:italic'>&quot;ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP&quot;</span></font></i><font
color=teal><span style='color:teal'>&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp; </span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>MaxFileSize</span></font><font
size=2 color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;</span></font><font size=2
color=black face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:black'>5MB</span></font><font size=2
color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&lt;/</span></font><font size=2
color="#3f7f7f" face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:#3F7F7F'>MaxFileSize</span></font><font size=2
color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;</span></font><font size=2
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp; </span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;/</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>TimeBasedFileNamingAndTriggeringPolicy</span></font><font
size=2 color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:11.0pt;font-family:"Courier New";
color:teal;font-weight:bold'>&lt;</span></font></b><b><font color="#3f7f7f"
face="Courier New"><span lang=EN-US style='font-family:"Courier New";
color:#3F7F7F;font-weight:bold'>MaxHistory</span></font></b><b><font
color=teal face="Courier New"><span lang=EN-US style='font-family:"Courier New";
color:teal;font-weight:bold'>&gt;</span></font></b><b><font color=black
face="Courier New"><span lang=EN-US style='font-family:"Courier New";
color:black;font-weight:bold'>1</span></font></b><b><font color=teal
face="Courier New"><span lang=EN-US style='font-family:"Courier New";
color:teal;font-weight:bold'>&lt;/</span></font></b><b><font color="#3f7f7f"
face="Courier New"><span lang=EN-US style='font-family:"Courier New";
color:#3F7F7F;font-weight:bold'>MaxHistory</span></font></b><b><font
color=teal face="Courier New"><span lang=EN-US style='font-family:"Courier New";
color:teal;font-weight:bold'>&gt;</span></font></b><b><font face="Courier New"><span
lang=EN-US style='font-family:"Courier New";font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp; </span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;/</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>rollingPolicy</span></font><font
size=2 color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;</span></font><font size=2
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp; </span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>layout</span></font><font
size=2 color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;</span></font><font size=2
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp; </span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>Pattern</span></font><font
size=2 color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;</span></font><font size=2
color=black face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:black'>%<u>msg</u>%n</span></font><font size=2
color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&lt;/</span></font><font size=2
color="#3f7f7f" face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:#3F7F7F'>Pattern</span></font><font size=2
color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;</span></font><font size=2
color=black face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp; </span></font><font size=2
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp;&nbsp; </span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;/</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>layout</span></font><font
size=2 color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;</span></font><font size=2
color=black face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:black'>&nbsp; </span></font><font size=2
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp; </span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;/</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>appender</span></font><font
size=2 color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;</span></font><font size=2
color=black face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:black'>&nbsp; </span></font><font size=2
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp; </span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>root</span></font><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New"'> <font color="#7f007f"><span style='color:#7F007F'>level</span></font><font
color=black><span style='color:black'>=</span></font><i><font color="#2a00ff"><span
style='color:#2A00FF;font-style:italic'>&quot;debug&quot;</span></font></i><font
color=teal><span style='color:teal'>&gt;</span></font><font color=black><span
style='color:black'>&nbsp;&nbsp;&nbsp; </span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp; </span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>appender-ref</span></font><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New"'> <font color="#7f007f"><span style='color:#7F007F'>ref</span></font><font
color=black><span style='color:black'>=</span></font><i><font color="#2a00ff"><span
style='color:#2A00FF;font-style:italic'>&quot;ROLLING&quot;</span></font></i> <font
color=teal><span style='color:teal'>/&gt;</span></font><font color=black><span
style='color:black'> </span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp; </span></font><font size=2 color=teal
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;/</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>root</span></font><font
size=2 color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;</span></font><font size=2
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Courier New"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;
</span></font><font size=2 color=teal face="Courier New"><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;/</span></font><font
size=2 color="#3f7f7f" face="Courier New"><span lang=EN-US style='font-size:
10.0pt;font-family:"Courier New";color:#3F7F7F;background:silver'>configuration</span></font><font
size=2 color=teal face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;</span></font><font color="#1f497d"><span
lang=EN-US style='color:#1F497D'> <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;color:#1F497D'>Has any one tried it and worked!!?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-US
style='font-size:11.0pt;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0pt 0pt 0pt'>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
logback-user-bounces@qos.ch [mailto:logback-user-bounces@qos.ch] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Johan Bos<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, October 01, 2009
2:28 PM<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">logback
 users list</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [logback-user] urgent
explination issue<o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>You probably meant&nbsp;:
&lt;rollingPolicy&gt; instead of &lt;rollingPolisy&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=teal
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F;
background:silver'>rollingPolicy</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <font
color="#7f007f"><span style='color:#7F007F'>class</span></font><font
color=black><span style='color:black'>=</span></font><i><font color="#2a00ff"><span
style='color:#2A00FF;font-style:italic'>&quot;ch.qos.logback.core.rolling.TimeBasedRollingPolicy&quot;</span></font></i><font
color=teal><span style='color:teal'>&gt;</span></font><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font size=2
color=teal face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>MaxHistory</span></font><font
size=2 color=teal face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:teal'>&gt;</span></font><font size=2 color=black
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:black'>5</span></font><font size=2 color=teal face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;/</span></font><font
size=2 color="#3f7f7f" face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:#3F7F7F'>MaxHistory</span></font><font size=2
color=teal face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&gt;</span></font><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;</span></font><font
size=2 color=teal face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:teal'>&lt;/</span></font><font size=2 color="#3f7f7f"
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:#3F7F7F;background:silver'>rollingPolicy</span></font><font size=2
color=teal face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&gt;</span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Or if desired max history
only for the archive configuration:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=teal
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:teal'>&lt;</span></font><font size=2 color="#3f7f7f" face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#3F7F7F;
background:silver'>rollingPolicy</span></font><font size=2 face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <font
color="#7f007f"><span style='color:#7F007F'>class</span></font><font
color=black><span style='color:black'>=</span></font><i><span style='font-style:
italic'>&quot;ch.qos.logback.core.rolling.TimeBasedRollingPolicy&quot;</span></i><font
color=teal><span style='color:teal'>&gt;<o:p></o:p></span></font></span></font></p>

<p class=MsoNormal style='text-indent:35.4pt;text-autospace:none'><span
class=pun><b><font size=2 face=Calibri><span lang=EN-GB style='font-size:11.0pt;
font-weight:bold'>&lt;</span></font></b></span><span class=tag><b><span
lang=EN-GB style='font-weight:bold'>TimeBasedFileNamingAndTriggeringPolicy</span></b></span><span
lang=EN-GB> <span class=atn><b><span style='font-weight:bold'>class</span></b></span><span
class=pun><b><span style='font-weight:bold'>=</span></b></span><span class=atv><b><span
style='font-weight:bold'>&quot;ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP&quot;</span></b></span><span
class=pun><b><span style='font-weight:bold'>&gt;</span></b></span></span><span
class=pun><b><span lang=EN-US style='font-weight:bold'><o:p></o:p></span></b></span></p>

<p class=MsoNormal style='margin-left:35.4pt;text-indent:35.4pt;text-autospace:
none'><span class=pun><b><font size=2 face=Calibri><span lang=EN-GB
style='font-size:11.0pt;font-weight:bold'>&lt;</span></font></b></span><span
class=tag><b><span lang=EN-GB style='font-weight:bold'>MaxFileSize</span></b></span><span
class=pun><b><span lang=EN-GB style='font-weight:bold'>&gt;</span></b></span><span
class=pln><b><span lang=EN-GB style='font-weight:bold'>${sizeThreshold}</span></b></span><span
class=pun><b><span lang=EN-GB style='font-weight:bold'>&lt;/</span></b></span><span
class=tag><b><span lang=EN-GB style='font-weight:bold'>MaxFileSize</span></b></span><span
class=pun><b><span lang=EN-GB style='font-weight:bold'>&gt;</span></b></span><span
class=pun><font size=2 face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New"'><o:p></o:p></span></font></span></p>

<p class=MsoNormal style='margin-left:35.4pt;text-indent:35.4pt;text-autospace:
none'><font size=2 color=teal face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</span></font><font
size=2 face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:
"Courier New"'>MaxHistory<font color=teal><span style='color:teal'>&gt;</span></font><font
color=black><span style='color:black'>5</span></font><font color=teal><span
style='color:teal'>&lt;/</span></font>MaxHistory<font color=teal><span
style='color:teal'>&gt;</span></font></span></font><span lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal style='text-indent:35.4pt;text-autospace:none'><span
class=pun><b><font size=2 face=Calibri><span lang=EN-GB style='font-size:11.0pt;
font-weight:bold'>&lt;/</span></font></b></span><span class=tag><b><span
lang=EN-GB style='font-weight:bold'>TimeBasedFileNamingAndTriggeringPolicy</span></b></span><span
class=pun><b><span lang=EN-GB style='font-weight:bold'>&gt;</span><o:p></o:p></b></span></p>

<p class=MsoNormal><font size=2 color=teal face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;/</span></font><font
size=2 color="#3f7f7f" face="Courier New"><span lang=EN-GB style='font-size:
10.0pt;font-family:"Courier New";color:#3F7F7F;background:silver'>rollingPolicy</span></font><font
size=2 color=teal face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
font-family:"Courier New";color:teal'>&gt;</span></font><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:35.4pt;text-autospace:none'><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>That the way I understood
the documentation<o:p></o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>De&nbsp;:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
logback-user-bounces@qos.ch [mailto:logback-user-bounces@qos.ch] <b><span
style='font-weight:bold'>De la part de</span></b> Ayman Hammoudeh<br>
<b><span style='font-weight:bold'>Envoyé&nbsp;:</span></b> jeudi 1 octobre 2009
15:12<br>
<b><span style='font-weight:bold'>À&nbsp;:</span></b> logback-user@qos.ch<br>
<b><span style='font-weight:bold'>Objet&nbsp;:</span></b> [logback-user] urgent
explination issue</span></font><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>Hello,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>I want to know how can I use max history&nbsp; in <a
name=SizeAndTimeBasedFNATP></a><a
href="http://logback.qos.ch/manual/appenders.html#SizeAndTimeBasedFNATP">Size <b><span
style='font-weight:bold'>and</span></b> time based archiving</a>&nbsp; and
where exactly to put the&lt;MaxHistory&gt; tag in the xml , I have tried to put
it in the &lt;RollingPolisy&gt; tag but its not working.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>Any help would be appreciated.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>Best Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>Ayman Hammoudeh <o:p></o:p></span></font></p>

</div>

</body>

</html>