bee
bee copied to clipboard
Enabling loggerV2 logs?
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: https://github.com/ethersphere/bee/blob/501f8a4ef9caddd2d080829270a77cdd67cf1573/pkg/puller/puller.go#L292 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. https://github.com/ethersphere/bee/blob/501f8a4ef9caddd2d080829270a77cdd67cf1573/pkg/puller/puller.go#L367
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?