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 Skrip
2022-02-19 01:48:22 +01:00
committed by GitHub
parent 69e9ccc636
commit 2815f38c52
5 changed files with 24 additions and 9 deletions

View File

@@ -108,6 +108,13 @@ bindIP: 0.0.0.0
logLevel: info
# ---------------------------------------------------------------------
# Log Format
# ---------------------------------------------------------------------
# Output format for logging, possible values: default, json
logFormat: default
# ---------------------------------------------------------------------
# Offline Mode
# ---------------------------------------------------------------------