mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Backport PR #8534
---------
**Commit 1:**
Displaying stdout logs in UTC
* Original sha: 6f7efa7262
* Authored by = <brandon.kobel@elastic.co> on 2016-10-04T17:02:13Z
This commit is contained in:
parent
8698aaf199
commit
6a95bc527d
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