Config option for JSON output formatter (#2843)

* Introduce a structured logging option

* rename StructuredLog to LogFormat

* add changelog entry

* move log_format under log_level
This commit is contained in:
Anton Kaliaev
2018-11-16 03:05:06 +04:00
committed by Ethan Buchman
parent b646437ec7
commit 06225e332e
5 changed files with 34 additions and 0 deletions

View File

@ -39,6 +39,9 @@ db_dir = "data"
# Output level for logging
log_level = "state:info,*:error"
# Output format: 'plain' (colored text) or 'json'
log_format = "plain"
##### additional base config options #####
# The ID of the chain to join (should be signed with every transaction and vote)