• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • core

      Workflow does not honor global ConsoleLogFilter extensions.

      This prevents a plugin from automatically intercepting all the log processing. This is useful for example if your company runs fluentd, logstash, or any other centralized log aggregation service.

          [JENKINS-30777] ConsoleLogFilter isn't truly global

          Kohsuke Kawaguchi created issue -
          Kohsuke Kawaguchi made changes -
          Summary Original: workflow doesn't honor global ConsoleLogFilter New: ConsoleLogFilter isn't truly global
          Kohsuke Kawaguchi made changes -
          Description Original: Workflow does not honor global {{ConsoleLogFilter}} extensions.

          This prevents a plugin from automatically intercepting all the log processing.
          New: Workflow does not honor global {{ConsoleLogFilter}} extensions.

          This prevents a plugin from automatically intercepting all the log processing. This is useful for example if your company runs fluentd, logstash, or any other centralized log aggregation service.

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          core/src/main/java/hudson/console/ConsoleLogFilter.java
          core/src/main/java/hudson/model/Run.java
          http://jenkins-ci.org/commit/jenkins/36eea3dccfd75c76c22092878de30866956f3ebf
          Log:
          JENKINS-30777 Generalized the signature to work with Run, not just AbstractBuild.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: core/src/main/java/hudson/console/ConsoleLogFilter.java core/src/main/java/hudson/model/Run.java http://jenkins-ci.org/commit/jenkins/36eea3dccfd75c76c22092878de30866956f3ebf Log: JENKINS-30777 Generalized the signature to work with Run, not just AbstractBuild.

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          core/src/main/java/hudson/console/ConsoleLogFilter.java
          core/src/main/java/hudson/slaves/SlaveComputer.java
          test/src/test/java/hudson/console/ConsoleLogFilterTest.java
          http://jenkins-ci.org/commit/jenkins/4c4367113fff8fd9388ac3659504177aedd32f33
          Log:
          JENKINS-30777 also allow slaves to decorate logger

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: core/src/main/java/hudson/console/ConsoleLogFilter.java core/src/main/java/hudson/slaves/SlaveComputer.java test/src/test/java/hudson/console/ConsoleLogFilterTest.java http://jenkins-ci.org/commit/jenkins/4c4367113fff8fd9388ac3659504177aedd32f33 Log: JENKINS-30777 also allow slaves to decorate logger

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/5e2b154261180e1fec4afdd4861dc82cc264a552
          Log:
          [FIXED JENKINS-30777] this concludes the fix

          Compare: https://github.com/jenkinsci/jenkins/compare/ba93862659b2...5e2b15426118

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html http://jenkins-ci.org/commit/jenkins/5e2b154261180e1fec4afdd4861dc82cc264a552 Log: [FIXED JENKINS-30777] this concludes the fix Compare: https://github.com/jenkinsci/jenkins/compare/ba93862659b2...5e2b15426118
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          dogfood added a comment -

          Integrated in jenkins_main_trunk #4299
          JENKINS-30777 Generalized the signature to work with Run, not just AbstractBuild. (Revision 36eea3dccfd75c76c22092878de30866956f3ebf)
          JENKINS-30777 also allow slaves to decorate logger (Revision 4c4367113fff8fd9388ac3659504177aedd32f33)
          [FIXED JENKINS-30777] this concludes the fix (Revision 5e2b154261180e1fec4afdd4861dc82cc264a552)

          Result = UNSTABLE
          kohsuke : 36eea3dccfd75c76c22092878de30866956f3ebf
          Files :

          • core/src/main/java/hudson/model/Run.java
          • core/src/main/java/hudson/console/ConsoleLogFilter.java

          kohsuke : 4c4367113fff8fd9388ac3659504177aedd32f33
          Files :

          • core/src/main/java/hudson/console/ConsoleLogFilter.java
          • test/src/test/java/hudson/console/ConsoleLogFilterTest.java
          • core/src/main/java/hudson/slaves/SlaveComputer.java

          kohsuke : 5e2b154261180e1fec4afdd4861dc82cc264a552
          Files :

          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #4299 JENKINS-30777 Generalized the signature to work with Run, not just AbstractBuild. (Revision 36eea3dccfd75c76c22092878de30866956f3ebf) JENKINS-30777 also allow slaves to decorate logger (Revision 4c4367113fff8fd9388ac3659504177aedd32f33) [FIXED JENKINS-30777] this concludes the fix (Revision 5e2b154261180e1fec4afdd4861dc82cc264a552) Result = UNSTABLE kohsuke : 36eea3dccfd75c76c22092878de30866956f3ebf Files : core/src/main/java/hudson/model/Run.java core/src/main/java/hudson/console/ConsoleLogFilter.java kohsuke : 4c4367113fff8fd9388ac3659504177aedd32f33 Files : core/src/main/java/hudson/console/ConsoleLogFilter.java test/src/test/java/hudson/console/ConsoleLogFilterTest.java core/src/main/java/hudson/slaves/SlaveComputer.java kohsuke : 5e2b154261180e1fec4afdd4861dc82cc264a552 Files : changelog.html
          Jesse Glick made changes -
          Labels New: workflow
          Jesse Glick made changes -
          Assignee New: Kohsuke Kawaguchi [ kohsuke ]

            Unassigned Unassigned
            kohsuke Kohsuke Kawaguchi
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: