[logback-dev] [JIRA] Resolved: (LBCLASSIC-29) Improve logging message of ContextJNDISelector

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Wed Dec 3 16:21:14 CET 2008


     [ http://jira.qos.ch/browse/LBCLASSIC-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ceki Gulcu resolved LBCLASSIC-29.
---------------------------------

    Fix Version/s: 0.9.12
       Resolution: Fixed

Fixed in revision 2034. See also http://tinyurl.com/6cue9x 


> Improve logging message of ContextJNDISelector
> ----------------------------------------------
>
>                 Key: LBCLASSIC-29
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-29
>             Project: logback-classic
>          Issue Type: Improvement
>          Components: Other
>    Affects Versions: unspecified
>         Environment: Operating System: All
> Platform: All
>            Reporter: Sebastian Davids
>            Assignee: Logback dev list
>            Priority: Minor
>             Fix For: 0.9.12
>
>
> 14:08:09.153 [main] WARN  root - The provided URL for contextmyContextName does not lead to a valid file
> First, there is a missing space between context and its name, second you should show which URL has been provided, e.g.:
> 14:08:09.153 [main] WARN  root - The provided URL 'my/url/' for context myContextName does not lead to a valid file
> @@@@
> Reproduce: http://logback.qos.ch/manual/contextSelector.html
>   <env-entry>
>     <description>JNDI logging context for this app</description>
>     <env-entry-name>logback/context-name</env-entry-name>
>     <env-entry-type>java.lang.String</env-entry-type>
>     <env-entry-value>myContextName</env-entry-value>
>   </env-entry>
>   <env-entry>
>     <description>URL for configuring logback context</description>
>     <env-entry-name>logback/configuration-resource</env-entry-name>
>     <env-entry-type>java.lang.String</env-entry-type>
>     <env-entry-value>unknown.url</env-entry-value>
>   </env-entry>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list