Open egasimus opened 1 week ago
All network code is handled by CometBFT. Namada hides its output by default, but you can export NAMADA_CMT_STDOUT=true
and CMT_LOG_LEVEL=info
or CMT_LOG_LEVEL=debug
to see what's going on at the P2P level. Be warned that setting CometBFT's log level to debug
generates incredibly noisy output.
Recently, we began to frequently encounter cases where our local "resync" (pseudo-archival) nodes successfully credit initial balances, and then do not begin to sync from the provided
persistent_peers
.These have different root causes, yet in all cases there is zero feedback from
namadan
as to what is wrong. This makes it difficult to determine and take the appropriate next step in a timely manner, which puts unreasonable strain on our DevOps resources.It would be immensely helpful if the state of "failure to begin sync" resulted in an explanatory error message being emitted at INFO, WARNING, or ERROR level.
Looking at the way
run_aux
launches multiple sub-tasks on an asynchronous basis, I'd venture a guess that it will also be necessary to repeat that message periodically, so that it doesn't get lost in the scrollback from thecrediting tokens
messages.