<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

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

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Hi all,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I&#8217;m tearing my hairs off to understand why the RollingFileAppender
in my configuration doesn&#8217;t behave as expected.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I&#8217;m using logBack 0.9.15 version with jboss 5.1
EAP. My configuration file is below with few remarks:<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>1) The fileNamePattern I&#8217;ve set (in bold) is
supposed to create a new file file each minute.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>2) I&#8217;ve set layout instead of an encoder (which
is in pattern) because encoder in not supported in this version of logback.<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>When I start the server the output seem to be ok with
my configuration and a log file named tpm-ws.log is created as expected.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>After one day of testing, there is no other file
created. All logs are still generated in the same file.<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Can someone explain me what&#8217;s wrong in my
configuration?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Is the RollingFileAppender supported in the 0.9.15
version.<o:p></o:p></span></font></p>

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

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

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>&lt;configuration
debug=&quot;true&quot; scan=&quot;true&quot;&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>&lt;property
name=&quot;tpm-log-file&quot;
value=&quot;C:\\Developpement\\jboss\\jboss-5.1.0.GA\\server\\default\\conf\\confwspatio\\logs\\tpm-ws.log&quot;
/&gt;<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>  &lt;appender
name=&quot;TPM-WS-LOG&quot;
class=&quot;ch.qos.logback.core.rolling.RollingFileAppender&quot;&gt; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>   
&lt;file&gt;${tpm-log-file}&lt;/file&gt; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>    &lt;rollingPolicy
class=&quot;ch.qos.logback.core.rolling.TimeBasedRollingPolicy&quot;&gt; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>      </span></font><font
size=2 color="#003366" face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:#003366'>&lt;!-- un nouveau fichier par jour --&gt; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#003366'>      </span></font><font
size=2 color="#003366" face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:#003366'>&lt;fileNamePattern&gt;<b><span
style='font-weight:bold'>logFile.%d{yyyy-MM-dd-HHmm}.</span></b>log&lt;/fileNamePattern&gt;
<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>      </span></font><font
size=2 color="#003366" face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:#003366'>&lt;!-- garde un historique de 30 jours --&gt; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#003366'>      </span></font><font
size=2 color="#003366" face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:#003366'>&lt;maxHistory&gt;30&lt;/maxHistory&gt; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>   
&lt;/rollingPolicy&gt; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>            &lt;triggeringPolicy
class=&quot;ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy&quot;&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>      &lt;maxFileSize&gt;1MB&lt;/maxFileSize&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>   
&lt;/triggeringPolicy&gt;<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>   &lt;layout
class=&quot;ch.qos.logback.classic.PatternLayout&quot;&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>     
&lt;Pattern&gt;%d{dd/MM/yyyy HH:mm:ss.SSS} [%thread] %-5level %logger{36} -
%msg%n&lt;/Pattern&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>    &lt;/layout&gt;<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>            &lt;!--<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>            &lt;encoder&gt;
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>     
&lt;pattern&gt;%-4relative [%thread] %-5level %logger{35} -
%msg%n&lt;/pattern&gt; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>    &lt;/encoder&gt; <o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>            &lt;/appender&gt; 
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>  &lt;root
level=&quot;TRACE&quot;&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>    &lt;appender-ref
ref=&quot;TPM-WS-LOG&quot; /&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>  &lt;/root&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>  &lt;logger
name=&quot;org.springframework&quot; level=&quot;TRACE&quot;&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>        &lt;appender-ref
ref=&quot;TPM-WS-LOG&quot; /&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>  &lt;/logger&gt;<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>&lt;/configuration&gt;<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color="#003366" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#003366'>Thanks in advance.<o:p></o:p></span></font></p>

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

<p style='margin:0cm;margin-bottom:.0001pt'><b><font size=2 color="#003399"
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:#003399;
font-weight:bold'>Meissa SAKHO</span></font></b><o:p></o:p></p>

<p style='margin:0cm;margin-bottom:.0001pt'><b><font size=2 color="#003399"
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:#003399;
font-weight:bold'>NATIXIS</span></font></b><o:p></o:p></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 color="#003399"
face=Verdana><span style='font-size:8.0pt;font-family:Verdana;color:#003399'>Systémes
d'information Achats et Logistique&nbsp;/&nbsp;Etudes -Banque Privée<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 color="#003399"
face=Verdana><span style='font-size:8.0pt;font-family:Verdana;color:#003399'>Tél.
: +33 1 58 32 20 88</span></font><o:p></o:p></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 color="#003399"
face=Verdana><span style='font-size:8.0pt;font-family:Verdana;color:#003399'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
: +33 6 01 27 58 46</span></font><o:p></o:p></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=1 color="#003399"
face=Verdana><span style='font-size:8.0pt;font-family:Verdana;color:#003399'><a
href="http://www.natixis.com" title="http://www.natixis.com/"><font
color="#003399" title="http://www.natixis.com/"><span
title="http://www.natixis.com/"><span title="http://www.natixis.com/"><span
style='color:#003399'>www.natixis.com</span></span></span></font></a></span></font><font
size=1 color="#003399" face=Verdana><span style='font-size:8.0pt;font-family:
Verdana;color:#003399'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<pre style="white-space:normal">L'integrite de ce message n'etant pas assuree sur internet, Natixis ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si<br>vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. Ensemble, faisons un geste pour l'environnement : n'imprimons nos mails que si<br>necessaire.<br><br>The integrity of this message cannot be guaranteed on the Internet. Natixis can not therefore be considered responsible for the contents. Any unauthorized use or dissemination is<br>prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender. Let us mind the environment : let's print our mails only when<br>necessary<br></pre></body>

</html>