storj / drpc

drpc is a lightweight, drop-in replacement for gRPC
MIT License
1.49k stars 50 forks source link

debug logging #46

Open newhook opened 1 year ago

newhook commented 1 year ago

The debug logging is pretty inflexible. It would be nice to be able to override the logging function, but at a minimum using log.Output vs creating a new standard logger would at least enable me to capture the data into our standard logging vs redirecting stdout.

zeebo commented 1 year ago

The debug logging is really for internal debugging when tests fail. I don't think there's useful data for external consumption.

newhook commented 1 year ago

I've used it when things went wrong with our internal services. Without the debugging it would have been very difficult to work out what was going wrong.