Hi,

        I have a problem with maxSizeRollBackups or maximumFileSize,
because i try create two o more log file when your's size is more than 5
KB, but this is not possible.

         

        ?Are you have the same problem?

         

        I use framework 1.1.4322, Vstudio 2003 ASP.NET and log4net
1.2.10

        And my log4net configuration is:

         

         <appender name="RollingFile"
type="log4net.Appender.RollingFileAppender">

                    <file value="procesos.log" />

                    <appendToFile value="true" />

                    <maximumFileSize value="5KB" />

                    <maxSizeRollBackups value="2" />

         

                    <layout type="log4net.Layout.PatternLayout">

                          <conversionPattern value="%date %level %thread
%logger - %message%newline" />          

                    </layout>

              </appender>



La información contenida en esta transmisión es confidencial, y no puede ser 
usada, por otras personas que su (s) destinatario (s). El uso no autorizado de 
la información contenida en esta transmisión puede ser sancionado criminalmente 
de conformidad al Código Penal Chileno. Si ha recibido esta transmisión por 
error, por favor destrúyala y notifique al remitente telefónicamente, con cobro 
revertido al teléfono 56-2-2106600 o vía e-mail. Atendido que no existe 
certidumbre que el presente mensaje no será modificado como resultado de su 
transmisión por correo electrónico,  Enaex S.A.  no será responsable si el 
contenido del mismo ha sido modificado.

The information contained in this transmission is confidential, and may not be 
used or transmitted by any person other than its addressee(s). Unauthorized use 
of the information contained in this transmission may be punished under the 
Chilean Law. If received in error, please destroy it and notify the sender by 
calling collect or e-mail. As there can be no certainty that this message will 
not be modified as a result of its transmission via e-mail,  Enaex .S.A. shall 
not be responsible if the content of the same has been modified. 



Reply via email to