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

Superfluous timestams in new journal log

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • jenkins 2.332.1

      After upgrading to 2.332.1 using the new journal logging, There are TWO time stamps in every line of the log. Example:

      Mar 27 17:57:16 redacted.host jenkins[1663366]: 2022-03-27 15:57:16.168+0000 [id=149]        INFO        hudson.model.AsyncPeriodicWork#lambda$doRun$1: Started Periodic background build discarder

       

      The first time stamp is from jounal logging and the second from jenkin's logging. I suggest to remove the second one. The various time-based filters of journalctl use the first one anyway so the second one is quite useless now. Note: the time difference in the above example is caused by the the difference of CEST (localtime, used in journalctl) vs. UTC (used by jenkins logging).

            Unassigned Unassigned
            felfert Fritz Elfert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: