• 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

          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.

          Michael Neale added a comment -

          hey jbochenski trejkaz grzegorz_dubicki going to close this one as a clone of JENKINS-44195 which is getting more attention now. 

          Michael Neale added a comment - hey jbochenski trejkaz grzegorz_dubicki going to close this one as a clone of  JENKINS-44195 which is getting more attention now. 

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

              Created:
              Updated:
              Resolved: