Return-Path: Delivered-To: apmail-logging-log4net-dev-archive@www.apache.org Received: (qmail 88733 invoked from network); 17 Apr 2005 00:40:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Apr 2005 00:40:01 -0000 Received: (qmail 92335 invoked by uid 500); 17 Apr 2005 00:40:01 -0000 Delivered-To: apmail-logging-log4net-dev-archive@logging.apache.org Received: (qmail 92301 invoked by uid 500); 17 Apr 2005 00:40:00 -0000 Mailing-List: contact log4net-dev-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET Dev" Delivered-To: mailing list log4net-dev@logging.apache.org Received: (qmail 92288 invoked by uid 99); 17 Apr 2005 00:40:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 16 Apr 2005 17:40:00 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id AF56C2DD for ; Sun, 17 Apr 2005 02:39:57 +0200 (CEST) Message-ID: <684406787.1113698397716.JavaMail.jira@ajax.apache.org> Date: Sun, 17 Apr 2005 02:39:57 +0200 (CEST) From: "Nicko Cadell (JIRA)" To: log4net-dev@logging.apache.org Subject: [jira] Resolved: (LOG4NET-25) RollingFileAppender can fail if RollOverIfDateBoundaryCrossing required In-Reply-To: <1064453454.1113697737474.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LOG4NET-25?page=history ] Nicko Cadell resolved LOG4NET-25: --------------------------------- Resolution: Fixed Fix Version: 1.2.10 (was: 1.2.9) Fixed RollingFileAppender by fully qualifying the File property value before calling ExistingInit in the ActivateOptions method. > RollingFileAppender can fail if RollOverIfDateBoundaryCrossing required > ----------------------------------------------------------------------- > > Key: LOG4NET-25 > URL: http://issues.apache.org/jira/browse/LOG4NET-25 > Project: Log4net > Type: Bug > Components: Appenders > Versions: 1.2.9 > Reporter: Nicko Cadell > Fix For: 1.2.10 > > RollingFileAppender fails if RollOverIfDateBoundaryCrossing required and current directory is not ApplicationBase directory. > RollOverIfDateBoundaryCrossing is called before the base class (FileAppender) ActivateOptions method is called. Therefore the File property has not yet been converted to a fully qualified path. If the current directory is not the ApplicationBase directory (e.g. when running under ASP.NET) then the RollFile call will fail with the message "Source does not exist" in the internal debug log. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira