[logback-dev] [Bug 94] New: Improve logging message of ContextJNDISelector

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Thu Aug 23 16:18:24 CEST 2007


http://bugzilla.qos.ch/show_bug.cgi?id=94

           Summary: Improve logging message of ContextJNDISelector
           Product: logback-classic
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Other
        AssignedTo: logback-dev at qos.ch
        ReportedBy: sdavids at gmx.de


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>


-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the logback-dev mailing list