• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Blue Ocean - Candidates

      Scope

      • Switch from line numbers to time stamp

      Original request
      The console output in blue ocean seems to suppress the time stamps for each log line but this info can be useful. For example if we have a hanging test then in blue ocean it might say:

       

      Test 123 started
      Sending interrupt signal
      

       

      That could mean that the stage was aborted manually or because of a failure in another stage or because this stage timed out.

      In regular log it might say:

      3:23:00 Test 123 started
      3:43:00 Sending interrupt signal
      
      

      And this is where it's clear that the interrupt was due to a 20 minute timeout being reached. Makes the logs much more useful.

          [JENKINS-44195] Add timestamps to Blue Ocean log

          FTR the ConsoleNote and other reasons for pipeline logs bloat are discussed in JENKINS-38381 and JENKINS-48344

          Jakub Bochenski added a comment - FTR the ConsoleNote and other reasons for pipeline logs bloat are discussed in JENKINS-38381 and JENKINS-48344

          I agree timestamping ought to be always on, at the very least by default. One might not realize it is needed, until things start to go less well. Then, when trying to understand where time is spent, you're left with either enabling the option, or possibly trickier wild guesses.

          Baptiste Mathus added a comment - I agree timestamping ought to be always on, at the very least by default. One might not realize it is needed, until things start to go less well. Then, when trying to understand where time is spent, you're left with either enabling the option, or possibly trickier wild guesses.

          Steve Lohr added a comment -

          would really like to see this feature, just stumpled upon it in Blue Ocean and thought there was a mistake with the missing timestamps

          Steve Lohr added a comment - would really like to see this feature, just stumpled upon it in Blue Ocean and thought there was a mistake with the missing timestamps

          +1 - this would be awesome - we've recently migrated to Blue Ocean, and this is a regression for our debugging efforts
          Is there any clue when this would be available, because otherwise we need to start manually logging to console instead?

          Marko Elezovic added a comment - +1 - this would be awesome - we've recently migrated to Blue Ocean, and this is a regression for our debugging efforts Is there any clue when this would be available, because otherwise we need to start manually logging to console instead?

          Frank Kelly added a comment -

          The lack of this feature is also causing a step back in our ability to debug long running jobs. This is very needed. Thanks!

          Frank Kelly added a comment - The lack of this feature is also causing a step back in our ability to debug long running jobs. This is very needed. Thanks!

          Jesse Glick added a comment -

          The release of JENKINS-48344 should open up a new implementation possibility for this in Blue Ocean.

          Jesse Glick added a comment - The release of JENKINS-48344 should open up a new implementation possibility for this in Blue Ocean.

          ethorsa added a comment -

          Timestamper 1.9 provides support for timestamps in pipelines. It's even possible to enable them globally.

          ethorsa added a comment - Timestamper 1.9 provides support for timestamps in pipelines. It's even possible to enable them globally.

          Steve Lohr added a comment -

          ethorsa it is not about timestamps in pipelines but the display of them in Blue Ocean

          Steve Lohr added a comment - ethorsa it is not about timestamps in pipelines but the display of them in Blue Ocean

          Steffen Wilke added a comment -

          Proper timestamp visualization in the Blue Ocean view would be very much appreciated! Having to switch to the old UI for this is time-consuming and inconsistent.

          Steffen Wilke added a comment - Proper timestamp visualization in the Blue Ocean view would be very much appreciated! Having to switch to the old UI for this is time-consuming and inconsistent.

          Hokwang Lee added a comment -

          In my case, 

          I am using timestamp plugin,

          In console output, timezone is OK. but log is too long.

          It shows

          15:26:36 blah blah
          

          So I want to see log in blueocean for each stage, step.

          but int blue ocean, timezone is UTC maybe.

          It shows

          [2019-07-09T06:23:02.385Z]  blah blah
          

           

          even though I set timezone properly.

           

          Hokwang Lee added a comment - In my case,  I am using timestamp plugin, In console output, timezone is OK. but log is too long. It shows 15:26:36 blah blah So I want to see log in blueocean for each stage, step. but int blue ocean, timezone is UTC maybe. It shows [2019-07-09T06:23:02.385Z]  blah blah   even though I set timezone properly.  

            Unassigned Unassigned
            rainwaj Justin Rainwater
            Votes:
            59 Vote for this issue
            Watchers:
            65 Start watching this issue

              Created:
              Updated: