Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable GRPC log for GNMI (sonic-net#20798)
#### Why I did it Currently, we don't have GRPC logs for the GNMI server, making it difficult to debug GRPC-level issues such as invalid certificates. #### How I did it Update gnmi-native.sh to enable GRPC_GO_LOG. #### How to verify it Send gnmi request and check gnmi log, for example: 2024 Nov 13 07:35:03.454423 str3 INFO gnmi#supervisord: gnmi-native WARNING: 2024/11/13 07:35:03 [core] grpc: Server.Serve failed to complete security handshake from "127.0.0.1:43530": tls: failed to verify client certificate: x509: certificate signed by unknown authority
- Loading branch information