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

@@ -16,4 +16,5 @@ ssl:
domain: $(LETSENCRYPT_DOMAIN)
subscriberEmail: $(LETSENCRYPT_EMAIL)
logLevel: info
logFormat: $(LOG_FORMAT)
ha: $(HA_ACTIVE)