-
Notifications
You must be signed in to change notification settings - Fork 294
grpc based plugins create noise in snapteld's log when they are stopped #1438
Comments
Reproduced the issue by running snap and loading apache collector and graphite publisher Error Log - 2016/12/15 14:56:52 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 127.0.0.1:51151: operation was canceled"; Reconnecting to {"127.0.0.1:51151" } |
Noisy logs come from grpc logger, see:
I don't think that we can do something with these logs. Do you have any ideas? Should we close this issue? |
We can use SetLogger to set a logger for grpc -- either to make it match our log format or to ignore certain kinds of messages except when logs are set to debug. |
@IRCody Thanks, I'll try to use SetLogger. |
set Out and Formatter for grpc logs
set Out and Formatter for grpc logger
Fixes #1438, set standard logger as logger for grpc
The call from snapteld stopping (killing) the plugin results in the following log message (from grpc) to be printed.
To reproduce simply load any grpc based plugin.
The text was updated successfully, but these errors were encountered: