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

Configurable loggers should capture messages on slaves

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      See https://github.com/jenkinsci/git-plugin/pull/156 for background. If you emit log messages at FINE or below on a slave, by default they are lost, and it is not obvious how to see them. https://github.com/jenkinsci/remoting/commit/e01f23c13dc18b93df106c929ee1af3eec27313f is another case.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          core/src/main/java/hudson/slaves/SlaveComputer.java
          http://jenkins-ci.org/commit/jenkins/ca5304307607a9bddfb472cf6dc014ed5c0f8f83
          Log:
          JENKINS-18274 ComputerListener methods should be called as ACL.SYSTEM.
          https://ci.jenkins-ci.org/job/jenkins_main_trunk/2588/testReport/junit/hudson.bugs/JnlpAccessWithSecuredHudsonTest/testServiceUsingDirectSecret/

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/slaves/SlaveComputer.java http://jenkins-ci.org/commit/jenkins/ca5304307607a9bddfb472cf6dc014ed5c0f8f83 Log: JENKINS-18274 ComputerListener methods should be called as ACL.SYSTEM. https://ci.jenkins-ci.org/job/jenkins_main_trunk/2588/testReport/junit/hudson.bugs/JnlpAccessWithSecuredHudsonTest/testServiceUsingDirectSecret/
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #2591
          JENKINS-18274 ComputerListener methods should be called as ACL.SYSTEM. (Revision ca5304307607a9bddfb472cf6dc014ed5c0f8f83)

          Result = UNSTABLE
          Jesse Glick : ca5304307607a9bddfb472cf6dc014ed5c0f8f83
          Files :

          • core/src/main/java/hudson/slaves/SlaveComputer.java
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2591 JENKINS-18274 ComputerListener methods should be called as ACL.SYSTEM. (Revision ca5304307607a9bddfb472cf6dc014ed5c0f8f83) Result = UNSTABLE Jesse Glick : ca5304307607a9bddfb472cf6dc014ed5c0f8f83 Files : core/src/main/java/hudson/slaves/SlaveComputer.java
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          core/src/main/java/hudson/slaves/SlaveComputer.java
          http://jenkins-ci.org/commit/jenkins/63001918f5e2f48222d6747eab70f24eeed0f4e7
          Log:
          JENKINS-16952 JENKINS-18274 Slave computers should record all log messages at INFO+, not just those in the hudson.* namespace.
          (cherry picked from commit 0ca88a6ceae605e7d2e126a328a196c046a91a12)

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/slaves/SlaveComputer.java http://jenkins-ci.org/commit/jenkins/63001918f5e2f48222d6747eab70f24eeed0f4e7 Log: JENKINS-16952 JENKINS-18274 Slave computers should record all log messages at INFO+, not just those in the hudson.* namespace. (cherry picked from commit 0ca88a6ceae605e7d2e126a328a196c046a91a12)
          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/main/resources/hudson/logging/LogRecorder/index.jelly
          core/src/main/resources/hudson/slaves/SlaveComputer/log.jelly
          test/src/test/java/hudson/logging/LogRecorderManagerTest.java
          http://jenkins-ci.org/commit/jenkins/76163e2243ddd177046ee83001181c3968db679b
          Log:
          [FIXED JENKINS-18274] LogRecorder.getSlaveLogRecords
          (cherry picked from commit d10fbc5eace959d3a5928d40b1c1f8975b3be1d0)

          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/main/resources/hudson/logging/LogRecorder/index.jelly core/src/main/resources/hudson/slaves/SlaveComputer/log.jelly test/src/test/java/hudson/logging/LogRecorderManagerTest.java http://jenkins-ci.org/commit/jenkins/76163e2243ddd177046ee83001181c3968db679b Log: [FIXED JENKINS-18274] LogRecorder.getSlaveLogRecords (cherry picked from commit d10fbc5eace959d3a5928d40b1c1f8975b3be1d0)
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          core/src/main/java/hudson/slaves/SlaveComputer.java
          http://jenkins-ci.org/commit/jenkins/b358d71ce0f0f8232bab211680f54eefd8ea973f
          Log:
          JENKINS-18274 ComputerListener methods should be called as ACL.SYSTEM.
          https://ci.jenkins-ci.org/job/jenkins_main_trunk/2588/testReport/junit/hudson.bugs/JnlpAccessWithSecuredHudsonTest/testServiceUsingDirectSecret/
          (cherry picked from commit ca5304307607a9bddfb472cf6dc014ed5c0f8f83)

          Compare: https://github.com/jenkinsci/jenkins/compare/8097aac90687...b358d71ce0f0

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/slaves/SlaveComputer.java http://jenkins-ci.org/commit/jenkins/b358d71ce0f0f8232bab211680f54eefd8ea973f Log: JENKINS-18274 ComputerListener methods should be called as ACL.SYSTEM. https://ci.jenkins-ci.org/job/jenkins_main_trunk/2588/testReport/junit/hudson.bugs/JnlpAccessWithSecuredHudsonTest/testServiceUsingDirectSecret/ (cherry picked from commit ca5304307607a9bddfb472cf6dc014ed5c0f8f83) Compare: https://github.com/jenkinsci/jenkins/compare/8097aac90687...b358d71ce0f0

            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: