Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 23256 invoked from network); 15 Sep 2006 19:33:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Sep 2006 19:33:54 -0000 Received: (qmail 8070 invoked by uid 500); 15 Sep 2006 19:33:40 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 7987 invoked by uid 500); 15 Sep 2006 19:33:40 -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 7938 invoked by uid 99); 15 Sep 2006 19:33:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2006 12:33:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.234.105.53] (HELO smtp.brikken.no) (194.234.105.53) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2006 12:33:27 -0700 Received: from mailserver.vianett.no (mail.vianett.no [194.234.105.106]) by smtp.brikken.no (8.12.11.20060308/8.12.11) with ESMTP id k8FJWEQF020465 for ; Fri, 15 Sep 2006 21:32:14 +0200 Received: from [192.168.25.19] [81.191.131.98] by mailserver.vianett.no with ESMTP (SMTPD32-8.12) id AFBEE00BC; Fri, 15 Sep 2006 21:32:14 +0200 Message-ID: <450AFFBF.2000408@vianett.no> Date: Fri, 15 Sep 2006 21:32:15 +0200 From: Morten Andersen User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Log4NET User Subject: Re: log4net 1.2.10 overwriting instead of rolling over References: <5fca47f10609150652o6edafa34obcdf883596a2e744@mail.gmail.com> In-Reply-To: <5fca47f10609150652o6edafa34obcdf883596a2e744@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N What tail program do you use? If the program locks the file log4net cannot roll the files. After having the same problem I started to use mtail. This solved the problem. http://ophilipp.free.fr/soft/mtail.zip - Morten Michelle Weber wrote: > I just upgraded to log4net 1.2.10 from 1.2.9 (to fix that exception > message I wrote about last week). And I'm having a big problem with > the log files not rolling over at maximumFileSize and instead just > overwriting itself! > > I have this running on a asp.net app on 2 different web servers > (win2003/iis6). I had both files open with Tail for windows and this > was not a problem in 1.2.9, the files would properly roll over. After > I closed tail, one of the servers started properly rolling over files, > the other still is not rolling over files. The one that is not rolling > over files at the max file size did roll over the file based on the > date last night, but this morning continues to overwrite itself when > it reaches max file size. > > This is my configuration on both servers, and is unchanged from when I > was using 1.2.9 without a problem: > > > type="log4net.Appender.AspNetTraceAppender" > > > > > > type="log4net.Appender.RollingFileAppender"> > > > > > > > > > > > > > > > > > >