feat(logging): add option to configure JSON logging (#5022)

* fix: Use logger for logs using console logging

* feat: Add option to configure JSON logging

* fix: use generic logFormat instead of json specific

* fix: use logFormat for docker config

* fix: use logFormat to build winston formatters

Co-authored-by: Nicolas Giard <github@ngpixel.com>
This commit is contained in:
Marián SkripandNicolas Giard authored and GitHub committed 2022-02-18 19:48:22 -05:00
1 parent 69e9ccc636
commit 2815f38c52
5 files changed
+24 -9

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ module.exports = {
mode: 0o600
})
} catch (err) {
console.error(err)
WIKI.logger.error(err)
throw err
}
}