Skip to content

Commit

Permalink
Displaying stdout logs in UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
kobelb committed Oct 4, 2016
1 parent 8bc311d commit 6f7efa7
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 6f7efa7

Please sign in to comment.