logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LOG4NET-143) Invalid Repository Config Uri composition from "log4net.Config" application setting
Date Fri, 09 Sep 2011 13:40:09 GMT

     [ https://issues.apache.org/jira/browse/LOG4NET-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Bodewig resolved LOG4NET-143.
------------------------------------

    Resolution: Fixed

fixed with svn revision 1167161

> Invalid Repository Config Uri composition from "log4net.Config" application setting
> -----------------------------------------------------------------------------------
>
>                 Key: LOG4NET-143
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-143
>             Project: Log4net
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.10
>            Reporter: Eduard Gomolyako
>            Priority: Trivial
>             Fix For: 1.2.11
>
>         Attachments: Fix.jpg
>
>
> In DefaultRepositorySelector class in method ConfigureRepository(Assembly assembly, ILoggerRepository
repository) (DefaultRepositorySelector.cs, line 706) code perform config uri composition from
applicationBaseDirectory path and specified in "log4net.Config" settings file name. Because
SystemInfo.ApplicationBaseDirectory property return path not ended with slash '\' at line
706 during "new Uri(applicationBaseDirectory)" operation executed trimmed last folder, so
config uri made invalid.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message