logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicko Cadell (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LOG4NET-25) RollingFileAppender can fail if RollOverIfDateBoundaryCrossing required
Date Sun, 17 Apr 2005 00:39:57 GMT
     [ 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


Mime
View raw message