]> git.feebdaed.xyz Git - 0xmirror/grpc-go.git/commitdiff
opentelemetry: Remove chatty log in client (#8606)
authorArjan Singh Bal <46515553+arjan-bal@users.noreply.github.com>
Thu, 25 Sep 2025 03:03:46 +0000 (08:33 +0530)
committerGitHub <noreply@github.com>
Thu, 25 Sep 2025 03:03:46 +0000 (08:33 +0530)
Removing this debug log to reduce noise. This log fires on every RPC
call but provides no useful debugging value. The action it logs (adding
callInfo to the context) is part of the normal flow, and the message
contains no helpful variables.

RELEASE NOTES: N/A

stats/opentelemetry/client_metrics.go

index ee778080c25172abe8ff5ebf67f03e9e1242d617..d2d80494d4ea17c918cec371b65e6fe14ebe267d 100644 (file)
@@ -72,9 +72,6 @@ func (h *clientMetricsHandler) initializeMetrics() {
 func getOrCreateCallInfo(ctx context.Context, cc *grpc.ClientConn, method string, opts ...grpc.CallOption) (context.Context, *callInfo) {
        ci := getCallInfo(ctx)
        if ci == nil {
-               if logger.V(2) {
-                       logger.Info("Creating new CallInfo since its not present in context")
-               }
                ci = &callInfo{
                        target: cc.CanonicalTarget(),
                        method: determineMethod(method, opts...),