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

Add timestamps to Blue Ocean log

    XMLWordPrintable

    Details

    • Similar Issues:
    • Sprint:
      Blue Ocean - Candidates

      Description

      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.

        Attachments

          Issue Links

            Activity

            rainwaj Justin Rainwater created issue -
            jamesdumay James Dumay made changes -
            Field Original Value New Value
            Epic Link JENKINS-42919 [ 179928 ]
            jamesdumay James Dumay made changes -
            Description 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:

             
            {code:java}
            Test 123 started
            Sending interrupt signal
            {code}
             

            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:
            {code:java}
            3:23:00 Test 123 started
            3:43:00 Sending interrupt signal

            {code}
            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.
            *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:

             
            {code:java}
            Test 123 started
            Sending interrupt signal
            {code}
             

            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:
            {code:java}
            3:23:00 Test 123 started
            3:43:00 Sending interrupt signal

            {code}
            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.
            jamesdumay James Dumay made changes -
            Summary Please add time stamps to blue ocean logs Add timestamps to the log
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.4 - beta 5 [ 451 ]
            michaelneale Michael Neale made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            vivek Vivek Pandey made changes -
            Sprint Blue Ocean 1.4 - beta 5 [ 451 ] Blue Ocean 1.5 - beta 1 [ 456 ]
            vivek Vivek Pandey made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.5 - beta 1 [ 456 ]
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean - Candidates [ 441 ]
            jamesdumay James Dumay made changes -
            Rank Ranked higher
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean - Candidates [ 441 ] Blue Ocean 1.5 - beta 2 [ 481 ]
            oliverlockwood Oliver Lockwood made changes -
            Link This issue is related to JENKINS-47833 [ JENKINS-47833 ]
            vivek Vivek Pandey made changes -
            Rank Ranked lower
            michaelneale Michael Neale made changes -
            Link This issue is duplicated by JENKINS-47833 [ JENKINS-47833 ]
            vivek Vivek Pandey made changes -
            Sprint Blue Ocean 1.5 - beta 2 [ 481 ]
            vivek Vivek Pandey made changes -
            Sprint Blue Ocean 1.5 - beta 3 [ 491 ]
            vivek Vivek Pandey made changes -
            Rank Ranked higher
            vivek Vivek Pandey made changes -
            Sprint Blue Ocean 1.5 - beta 3 [ 491 ]
            vivek Vivek Pandey made changes -
            Sprint Blue Ocean - Candidates [ 441 ]
            vivek Vivek Pandey made changes -
            Rank Ranked higher
            jbochenski Jakub Bochenski made changes -
            Link This issue blocks JENKINS-48344 [ JENKINS-48344 ]
            jbochenski Jakub Bochenski made changes -
            Link This issue blocks JENKINS-38381 [ JENKINS-38381 ]
            batmat Baptiste Mathus made changes -
            Link This issue is duplicated by JENKINS-45108 [ JENKINS-45108 ]
            firaskh Firas Al-Kharabsheh made changes -
            Rank Ranked higher
            firaskh Firas Al-Kharabsheh made changes -
            Rank Ranked lower
            graingert Thomas Grainger made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            graingert Thomas Grainger made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            vladichko Vlad Aginsky made changes -
            Summary Add timestamps to the log Add timestamps to Blue Ocean log

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rainwaj Justin Rainwater
              Votes:
              57 Vote for this issue
              Watchers:
              62 Start watching this issue

                Dates

                Created:
                Updated: