mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Merge pull request #8570 from elastic/jasper/backport/8534/5.0
[backport] PR #8534 to 5.0 - Displaying console logs in UTC
This commit is contained in:
commit
583ff7db01
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue