Skip to content

Commit

Permalink
Merge pull request #8569 from elastic/jasper/backport/8534/5.x
Browse files Browse the repository at this point in the history
[backport] PR #8534 to 5.x - Displaying console logs in UTC
  • Loading branch information
kobelb authored Oct 6, 2016
2 parents ec2f4a4 + bb7e461 commit 0e7ca30
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 0e7ca30

Please sign in to comment.