composer: add json log formatting
Configurable via config file/env
This commit is contained in:
parent
aea77ed3de
commit
3b6156a240
4 changed files with 21 additions and 4 deletions
4
docs/news/unreleased/log-options.md
Normal file
4
docs/news/unreleased/log-options.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# Configurable logging
|
||||
|
||||
* Logging is now configurable via the config file, `log_level` can be set to one of `trace`, `debug`, `info`, `warn`, `error` or `fatal`.
|
||||
* JSON Logging is supported and configurable via the config file/env, `log_format` can be set to `text` or `json`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue