Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 47158 invoked from network); 4 May 2006 17:37:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 May 2006 17:37:08 -0000 Received: (qmail 83189 invoked by uid 500); 4 May 2006 17:37:07 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 82844 invoked by uid 500); 4 May 2006 17:37:05 -0000 Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET User" List-Id: Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 82833 invoked by uid 99); 4 May 2006 17:37:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 May 2006 10:37:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [65.126.124.25] (HELO pmtssmtp01.dentrix.com) (65.126.124.25) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 May 2006 10:37:05 -0700 X-SEF-Processed: 5_0_0_816__2006_05_04_11_36_39 Received: from Unknown [10.22.2.44] by pmtssmtp01.dentrix.com - SurfControl E-mail Filter (5.0); Thu, 04 May 2006 11:36:35 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C66FA1.3518F7B1" Subject: Rolling doesn't work based on size Date: Thu, 4 May 2006 11:35:59 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Rolling doesn't work based on size Thread-Index: AcZvoTQtDlF7772nR5iOR2sJgqz0ng== From: "Piwoni, Andre" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C66FA1.3518F7B1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable RollingLogFileAppender doesn't roll file based on size. It is used=0D=0Awit= hin windows service.=0D=0A=0D=0A=20=0D=0A=0D=0AHere's part of my configurat= ion file:=0D=0A=0D=0A=20=0D=0A=0D=0A=0D=0A=0D=0A = =0D=0A=0D=0A =0D=0A=0D=0A =0D=0A=0D=0A =0D=0A=0D= =0A =0D=0A=0D=0A <= staticLogFileName value=3D"false" />=0D=0A=0D=0A =0D=0A=0D=0A =0D=0A=0D= =0A =0D=0A=0D=0A=0D=0A=0D=0A=20=0D=0A=0D=0AD= oes anyone have any idea why=3F=0D=0A=0D=0A=20=0D=0A=0D=0AAndre=0D=0A=0D=0A=0D= =0A=0D=0A=0D=0A=0D=0A=0D=0AE-Mail messages may contain viruses, worms, or o= ther malicious code. By reading the message and opening any attachments, th= e recipient accepts full responsibility for taking protective action agains= t such code. Sender is not liable for any loss or damage arising from this = message.=0D=0A=0D=0AThe information in this e-mail is confidential and may = be legally privileged. It is intended solely for the addressee(s). Access t= o this e-mail by anyone else is unauthorized.=0D=0A ------_=_NextPart_001_01C66FA1.3518F7B1 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =0D= =0A=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A
=0D=0A=0D=0ARollingLogFileAppender doesn’t roll file= based on size.=0D=0AIt is used within windows service.

=0D=0A=0D=0A

 

=0D=0A=0D=0A

Here’s part of= my configuration file:

=0D=0A=0D=0A

 

=0D=0A=0D=0A

<appender name=3D"RollingLogFileAppender"=0D= =0Atype=3D"log4net.Appender.RollingFileAppender">

=0D=0A=0D=0A

  &nbs= p;         <file=0D=0Avalue=3D&q= uot;${windir}\\ FaxService.log" />

=0D=0A=0D= =0A

       = ;     <appendToFile=0D=0Avalue=3D"true" /&= gt;

=0D=0A=0D=0A

=             <roll= ingStyle=0D=0Avalue=3D"Size" />

=0D= =0A=0D=0A

      = ;      <maxSizeRollBackups=0D=0Avalue=3D"1= 0" />

=0D=0A=0D=0A

=            = ; <maximumFileSize=0D=0Avalue=3D"100KB" />

=0D=0A=0D=0A

   &n= bsp;        <staticLogFileName=0D=0Av= alue=3D"false" />

=0D=0A=0D=0A

        =     <layout=0D=0Atype=3D"log4net.Layout.PatternLayou= t">

=0D=0A=0D=0A

           &= nbsp;            <= ;param=0D=0Aname=3D"ConversionPattern" value=3D"%d [%t] %-5p= %c [%x] -=0D=0A%m%n" />

=0D=0A=0D=0A       &nbs= p;    </layout>

=0D=0A=0D=0A=

</appender>=0D=0A=0D=0A

 <= /p>=0D=0A=0D=0A

Does anyone have any idea why= =3F

=0D=0A=0D=0A

=  

=0D=0A=0D=0A

Andre

=0D=0A=0D=0A
=0D=0A=0D=0A

=


=0D=0A
=0D=0A=
=0D=0A
=0D=0A
=0D=0AE-Mail messages may contain&nb= sp;viruses, worms, or other malicious code. B= y reading the message and opening any at= tachments, the recipient accepts full responsibili= ty for taking protective action against such&= nbsp;code. Sender is not liable for any = loss or damage arising from this message.
=0D= =0A
=0D=0AThe information in this e-mail is&nbs= p;confidential and may be legally privileged. = ;It is intended solely for the addressee(s).&= nbsp;Access to this e-mail by anyone else&nbs= p;is unauthorized.
=0D=0A=0D=0A=0D=0A ------_=_NextPart_001_01C66FA1.3518F7B1--