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

Cannot create a custom logger matching any namespace

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      <?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.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          changelog.html
          core/src/main/java/hudson/logging/LogRecorder.java
          core/src/test/java/hudson/logging/LogRecorderTest.java
          http://jenkins-ci.org/commit/jenkins/84d1abdcd42ab64198a29a40bdec268eac384b22
          Log:
          [FIXED JENKINS-17983] Empty LogRecorder.Target.name was not working.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/logging/LogRecorder.java core/src/test/java/hudson/logging/LogRecorderTest.java http://jenkins-ci.org/commit/jenkins/84d1abdcd42ab64198a29a40bdec268eac384b22 Log: [FIXED JENKINS-17983] Empty LogRecorder.Target.name was not working.
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #2527

          Result = SUCCESS

          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2527 Result = SUCCESS
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          core/src/main/java/hudson/logging/LogRecorder.java
          core/src/test/java/hudson/logging/LogRecorderTest.java
          http://jenkins-ci.org/commit/jenkins/c87b32d03a0aaec8762f9f6655579a3b88df5747
          Log:
          [FIXED JENKINS-17983] Empty LogRecorder.Target.name was not working.
          (cherry picked from commit 84d1abdcd42ab64198a29a40bdec268eac384b22)

          Conflicts:
          changelog.html

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/logging/LogRecorder.java core/src/test/java/hudson/logging/LogRecorderTest.java http://jenkins-ci.org/commit/jenkins/c87b32d03a0aaec8762f9f6655579a3b88df5747 Log: [FIXED JENKINS-17983] Empty LogRecorder.Target.name was not working. (cherry picked from commit 84d1abdcd42ab64198a29a40bdec268eac384b22) Conflicts: changelog.html

            People

            • Assignee:
              jglick Jesse Glick
              Reporter:
              jglick Jesse Glick
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: