oasis-core
oasis-core copied to clipboard
Dump active configuration at every start and configuration reload
SUMMARY
When debugging issues it is helpful to see the exact config file that is being used by oasis-node. On one hand node operators typically forget to provide it, on the other hand with envsubst support and the upcoming config hot-reloading it will be even less obvious what configuration is being used.
I suggest that at every start (and configuration reload) the active oasis-node configuration is dumped into logs at debug level (maybe as a base64-encoded one-line log entry).
ISSUE TYPE
- Feature Idea
COMPONENT NAME
config