There are several interrelated issues with logging, some of them reaching into the gnmi-tools project:
- logging is not really configurable, only its level can be changed via a CLI option;
- the way how
confd_gnmi_* loggers are disabled/enabled is far from standard, hence likely to cause confusion or bugs
confd_gnmi_client and confd_gnmi_rpc loggers are used within one module, maybe they can be unified somewhat
SubscriptionRequest instances sent to the stream and SubscriptionResponse instances received from the server are not logged at all, because they do not go through the API.
See also ConfD-Developer/ConfD-Demos#106 (review).
There are several interrelated issues with logging, some of them reaching into the gnmi-tools project:
confd_gnmi_*loggers are disabled/enabled is far from standard, hence likely to cause confusion or bugsconfd_gnmi_clientandconfd_gnmi_rpcloggers are used within one module, maybe they can be unified somewhatSubscriptionRequestinstances sent to the stream andSubscriptionResponseinstances received from the server are not logged at all, because they do not go through the API.See also ConfD-Developer/ConfD-Demos#106 (review).