skalenetwork/skale-admin

Move log-level verbosity in skaled from cmdline to schain_config.json

DmytroNazarenko opened this issue · 0 comments

Schain config contains the value for log-level of consensus:

            "logLevel": "info",
            "logLevelConfig": "info",

Log-level for skaled now setting to cmdline by skale admin and not present in schain config.
To change consensus log-level need to rewrite 2 rows in schain config and it affects only 1 Schain.
To change skaled log-level need to rewrite staticschainparams.json for all schains and affect all schains on the node.
Need to add log-level for skaled to schain config for most uncomplicated and precise debug procedure and remove log-level value from cmdline.