• Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Minor Minor
    • blueocean-plugin
    • None

      Scope

      • Each log line shown in the UI should be shown with a timestamp
        • Removal of line numbers
      • Declarative pipeline should always have the timestamper enabled

      Notes
      We need to have a community discussion about why timestamper is an optional feature. I don't think anyone would not want their logs time stamped.

          [JENKINS-47833] Logs should be timestamped

          James Dumay created issue -
          James Dumay made changes -
          Epic Link New: JENKINS-43953 [ 181485 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Description Original: *Scope*
          * Each log line shown in the UI should be shown with a timestamp
          ** Removal of line numbers
          * Declarative pipeline should always have the timestamper enabled
          New: *Scope*
          * Each log line shown in the UI should be shown with a timestamp
          ** Removal of line numbers
          * Declarative pipeline should always have the timestamper enabled

          *Notes*
          We need to have a community discussion about why timestamper is an optional feature. I don't think anyone would not want their logs time stamped.
          James Dumay made changes -
          Link New: This issue is duplicated by JENKINS-45108 [ JENKINS-45108 ]

          Greg Dubicki added a comment -

          1. Why doesn't it have a bazillion of upvotes / +1 comments? This is something that should obviously be out-of-the-box in every CI solution...

          2. Can someone from the team please take a look at this?

           

          Greg Dubicki added a comment - 1. Why doesn't it have a bazillion of upvotes / +1 comments? This is something that should obviously be out-of-the-box in every CI solution... 2. Can someone from the team please take a look at this?  

          For benefit of anyone viewing this:

          Jakub Bochenski added a comment - For benefit of anyone viewing this: there is a timestamper plugin: https://jenkins.io/doc/pipeline/steps/timestamper/ if you need it as default define some common wrappers: https://jenkins.io/doc/book/pipeline/shared-libraries/

          Jakub Bochenski added a comment - Apparently timestamper is adding ConsoleNotes to the build, but they are not displayed in blueocean: https://github.com/jenkinsci/timestamper-plugin/blob/70f165c953387c530afdd202b1c913ba21184696/src/main/java/hudson/plugins/timestamper/TimestampNote.java#L42

          trejkaz added a comment -

          As far as I can tell, the ConsoleNotes added to the log are causing log files to become enormous, and even causing our builds to slow down to the point of being timed out.

          A plain text timestamp added to the lines of the log would be far more sane than timestamper-plugin. 22 bytes of timestamp in [yyyy-MM-dd HH:mm:ss] format versus the 320+ bytes of gzipped, base64d, HMACced garbage currently being written into the log.

          trejkaz added a comment - As far as I can tell, the ConsoleNotes added to the log are causing log files to become enormous, and even causing our builds to slow down to the point of being timed out. A plain text timestamp added to the lines of the log would be far more sane than timestamper-plugin. 22 bytes of timestamp in [yyyy-MM-dd HH:mm:ss] format versus the 320+ bytes of gzipped, base64d, HMACced garbage currently being written into the log.
          Oliver Lockwood made changes -
          Link New: This issue is related to JENKINS-44195 [ JENKINS-44195 ]

            Unassigned Unassigned
            jamesdumay James Dumay
            Votes:
            7 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: