Skip to content

Commit

Permalink
Merge pull request elastic#8569 from elastic/jasper/backport/8534/5.x
Browse files Browse the repository at this point in the history
[backport] PR elastic#8534 to 5.x - Displaying console logs in UTC

Former-commit-id: 0e7ca30
  • Loading branch information
kobelb authored Oct 6, 2016
2 parents ed012f2 + 25795c5 commit 926122e
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 926122e

Please sign in to comment.