You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Eduard Gomolyako (JIRA)" <ji...@apache.org> on 2008/02/28 17:23:51 UTC

[jira] Created: (LOG4NET-143) Invalid Repository Config Uri composition from "log4net.Config" application setting

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


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.


[jira] Issue Comment Edited: (LOG4NET-143) Invalid Repository Config Uri composition from "log4net.Config" application setting

Posted by "Olivier Oswald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LOG4NET-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900013#action_12900013 ] 

Olivier Oswald edited comment on LOG4NET-143 at 8/18/10 4:12 PM:
-----------------------------------------------------------------

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

      was (Author: ooswald):
    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.


[jira] Updated: (LOG4NET-143) Invalid Repository Config Uri composition from "log4net.Config" application setting

Posted by "Olivier Oswald (JIRA)" <ji...@apache.org>.
     [ 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.