[suggestion] Trace configuration parameters resolution #3502
Labels
config-changes
Changes in configuration and start up of the Iroha
Enhancement
New feature or request
iroha2-dev
The re-implementation of a BFT hyperledger in RUST
QA-confirmed
This bug is reproduced and needs a fix
Feature request
When something goes wrong in configuration, it is essential to trace where a particular parameter data came from. E.g. you have some parameters specified in ENV, some in JSON, and when you get an error, you want to know in which place you should fix it.
It might be also useful to log the resolution process on TRACE/DEBUG level so you can inspect what data is loaded from where, what is overwritten by what, etc.
And of course, when you have a configuration error, you should know the field location as precise as possible:
The text was updated successfully, but these errors were encountered: