Skip to content

Commit

Permalink
Backport PR elastic#8534
Browse files Browse the repository at this point in the history
---------

**Commit 1:**
Displaying stdout logs in UTC

* Original sha: 6f7efa7
* Authored by = <[email protected]> on 2016-10-04T17:02:13Z
  • Loading branch information
elastic-jasper committed Oct 6, 2016
1 parent ec2f4a4 commit bb7e461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/logging/log_format_string.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ let workerType = process.env.kbnWorkerType ? `${type(process.env.kbnWorkerType)}

module.exports = class KbnLoggerJsonFormat extends LogFormat {
format(data) {
let time = color('time')(moment(data.timestamp).format('HH:mm:ss.SSS'));
let time = color('time')(moment(data.timestamp).utc().format('HH:mm:ss.SSS'));
let msg = data.error ? color('error')(data.error.stack) : color('message')(data.message);

let tags = _(data.tags)
Expand Down

0 comments on commit bb7e461

Please sign in to comment.