logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saurabh Dani" <saur...@danicorp.com>
Subject re: AW: Keeping old log files in RollingAppender
Date Wed, 10 Aug 2005 19:41:14 GMT
So, you think its a bug in Log4net, and is not related to my setup/configuration?

 Return-Path: <log4net-user-return-2141-saurabh=danicorp.com@logging.apache.org> Mon
Aug 08 01:55:42 2005
Received: from hermes.apache.org [] by mail25.webcontrolcenter.com with SMTP;
Mon, 8 Aug 2005 01:55:42 -0700
Received: (qmail 99112 invoked by uid 500); 8 Aug 2005 08:56:28 -0000
Received: (qmail 99091 invoked by uid 99); 8 Aug 2005 08:56:28 -0000
Received: from [] (HELO mailgate2.volkswagen.de) (
by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2005 01:56:27 -0700
Received: from devwagwodx0053.wob.vw.de ([])
by mailgate2.volkswagen.de (MOS 3.5.9-GR)
with ESMTP id CUB71473;
Mon, 8 Aug 2005 10:56:18 +0200 (CEST)
Received: by devwagwodx0053.wob.vw.de with Internet Mail Service (5.5.2657.72)
id <PJGCDG2L>; Mon, 8 Aug 2005 10:56:10 +0200
Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm
Precedence: bulk
list-help: <mailto:log4net-user-help@logging.apache.org>
list-unsubscribe: <mailto:log4net-user-unsubscribe@logging.apache.org>
List-Post: <mailto:log4net-user@logging.apache.org>
Reply-To: "Log4NET User" <log4net-user@logging.apache.org>
List-Id: <log4net-user.logging.apache.org>
Delivered-To: mailing list log4net-user@logging.apache.org
X-ASF-Spam-Status: No, hits=0.1 required=10.0
X-Spam-Check-By: apache.org
Received-SPF: pass (hermes.apache.org: local policy)
Message-ID: <A29420B5957A6E45B663B9771578D1F9045E5A@vwagwox00027.vw.vwg>
From: "Helbig, Dirk (EXTERN: HUD)" <extern.dirk.helbig@volkswagen.de>
To: "'log4net-user@logging.apache.org'" <log4net-user@logging.apache.org>
Subject: AW: Keeping old log files in RollingAppender
Date: Mon, 8 Aug 2005 10:56:15 +0200
Importance: high
X-Priority: 1
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: multipart/mixed;
X-Junkmail-Whitelist: YES (by domain whitelist at mailgate2.volkswagen.de)
X-Virus-Checked: Checked by ClamAV on apache.org
X-SmarterMail-Spam: SPF_Pass
X-Rcpt-To: <saurabh@danicorp.com> 

 Hi,          I have the same problem!!!       In my DEBUG-Log you can see why the files could
not be rolled.            Thanks       Dirk       -----Urspr√ľngliche Nachricht-----
Von: Saurabh Dani [mailto:saurabh@danicorp.com] 
Gesendet: Sonntag, 7. August 2005 23:30
An: log4net-user@logging.apache.org
Betreff: Keeping old log files in RollingAppender

I have following configuration for RollingFIleAppender, but it does not save my old logs.
Every night the log file is overwritten. Can someon epoint to me that what needs to be changed
to keep the old logs.


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

<file value="Logs\l4net.log" /> 

<appendToFile value="true" /> 

<rollingStyle value="Date" /> 

<datePattern value="yyyyMMdd" />  

<lockingModel type="log4net.Appender.RollingFileAppender+MinimalLock" /> 

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

<conversionPattern value="%date|[%thread]|%-5level|%logger|%l|[%property{NDC}]|- %message%newline"




<level value="INFO" /> 

<level value="DEBUG" /> 

<appender-ref ref="RollingLogFileAppender" /> 




View raw message