Enabling loggerV2 logs?
ldeffenb opened this issue · 3 comments
ldeffenb commented
Context
2.0.0
Summary
Verbosity 5 logs don't show those coded as loggerV2?
Expected behavior
I would expect all coded logs to show up when running with --verbosity 5
Actual behavior
Logs that I see in the source do not appear in the log output. Consider:
Line 292 in 501f8a4
I KNOW that this node has pulled historical chunks, so why is this log not showing up? In fact, none of the "syncWorker" logs are in my log output.
Line 367 in 501f8a4
Steps to reproduce
Run a new node with --verbosity 5 and capture the log output. it will definitely need to pullsync the reserve from the swarm, but this log never shows up?
Possible solution
That's what I'm asking for! Is there a way for these p.logger.V(2).Register()
logs to get into the output?