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: ee07e1fd30b3462ec77f9829ea6f079a7718b2f2 [formerly 6f7efa7]
* Authored by = <[email protected]> on 2016-10-04T17:02:13Z


Former-commit-id: bb7e461
  • Loading branch information
elastic-jasper committed Oct 6, 2016
1 parent ed012f2 commit 25795c5
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 25795c5

Please sign in to comment.