Closed afjoseph closed 2 years ago
https://github.com/anacrolix/dht/tree/getput-context-logging is probably a bit more idiomatic for this codebase. Does it work for you? Try GO_LOG=*=debug
to restore the previous logging behaviour. Note that the loggers have no context from cmd/dht
, so you'll only get the file and line context in the log event here.
Works perfectly and seriously thanks for the extra work here. Closing...
Heyo! I'm getting a bit too many debug log statements in my project. This PR amends this noise by specifying the logger for this specific instance.
I can disable the logging using something like this:
Cheers!