[JIRA] (JENKINS-57599) (Question) Jenkins logs in UTC since 2.177

3 views
Skip to first unread message

r.fuereder@xortex.com (JIRA)

unread,
May 22, 2019, 6:06:02 AM5/22/19
to jenkinsc...@googlegroups.com
Reinhold Füreder created an issue
 
Jenkins / Task JENKINS-57599
(Question) Jenkins logs in UTC since 2.177
Issue Type: Task Task
Assignee: Jesse Glick
Components: core, winstone-jetty
Created: 2019-05-22 10:05
Priority: Trivial Trivial
Reporter: Reinhold Füreder

In the past I had configured Jenkins log format via Java system property, this is starting from Jenkins v2.177 thanks to https://github.com/jenkinsci/winstone/pull/63 no more necessary (and also no more taken into account or overridden – which is OK).

Turning now to my question, however: I was wondering, if hard-coding the timezone for Jenkins server logs to UTC is really on purpose or not, or is good or bad? (cf. https://github.com/jenkinsci/support-core-plugin/commit/8f35dd1ad5e0c5e498e5579bcf6671f11bf6d3c7#diff-046257f44dc4c390341c1e16a4b4e42c)
Of course it only makes a difference for humans looking at the log lines, because any log analysis software or central logging will convert it correctly anyhow.
And frankly I also have no proper opinion on whether this is good or bad: I just noticed the difference and was irritated...

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jglick@cloudbees.com (JIRA)

unread,
Jun 3, 2019, 3:34:01 PM6/3/19
to jenkinsc...@googlegroups.com
Jesse Glick resolved as Not A Defect
 

Timestamps in logs are best left in UTC.

Change By: Jesse Glick
Status: Open Resolved
Resolution: Not A Defect
Reply all
Reply to author
Forward
0 new messages