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

Olivier Oswald updated LOG4NET-143:
-----------------------------------

    Attachment: Fix.jpg

log4net.Core.DefaultRepositorySelector, line 706: A simple fix for a long 
outstanding issue.

> 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
>         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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to