This would eliminate the need for most of log.Println statements inside request handlers. This should be on by default for debug and off for testing (without -v option).
This should also be a protocol specific plugin to be able to log sensible data (i.e. only message part of JSON-RPC communication, etc.) on selected routers only.
This would eliminate the need for most of
log.Println
statements inside request handlers. This should be on by default for debug and off for testing (without-v
option).This should also be a protocol specific plugin to be able to log sensible data (i.e. only message part of JSON-RPC communication, etc.) on selected routers only.