EnMasseProject / enmasse

EnMasse - Self-service messaging on Kubernetes and OpenShift
https://enmasseproject.github.io
Apache License 2.0
190 stars 87 forks source link

Standardize on UTC date/time stamps in logs. #2003

Closed k-wall closed 5 years ago

k-wall commented 5 years ago

Current the NodeJS based components log using with UTC based timestamps (2018-11-19T14:32:58.102Z), the Java based components use a timezone based on server local time (2018-11-19 14:37:21).

Problem diagnosis would be easier in all timestamps used UTC. Switch the Java based components to datestamp in the same format to the same precision.

k-wall commented 5 years ago

@grs looking at the Qpid Dispatch Router manage, https://qpid.apache.org/releases/qpid-dispatch-1.4.0/man/qdrouterd.conf.html#_log, that Router cannot be configured to write a Zulu log date/time stamps. Am I right?

grs commented 5 years ago

@k-wall yes, I've raised a new issue, shoul not be hard to fix this: https://issues.apache.org/jira/browse/DISPATCH-1187

kornys commented 5 years ago

@lulf Serivce-broker still use old pattern