Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17983

Cannot create a custom logger matching any namespace

XMLWordPrintable

      <?xml version='1.0' encoding='UTF-8'?>
      <log>
        <name>explicit fine</name>
        <targets>
          <target>
            <name>org</name>
            <level>500</level>
          </target>
          <target>
            <name>com</name>
            <level>500</level>
          </target>
          <target>
            <name>net</name>
            <level>500</level>
          </target>
          <target>
            <name>hudson</name>
            <level>500</level>
          </target>
          <target>
            <name>jenkins</name>
            <level>500</level>
          </target>
        </targets>
      </log>
      

      works to capture all log messages at FINE, so long as you get all the top-level domains, but is clumsy.

      <?xml version='1.0' encoding='UTF-8'?>
      <log>
        <name>all fine</name>
        <targets>
          <target>
            <name></name>
            <level>500</level>
          </target>
        </targets>
      </log>
      

      ought to work but currently does not.

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: