Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Fix bug in ocgrpc client logging (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
bvwells authored and rghetia committed Sep 3, 2019
1 parent 19caf3a commit c3153da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/ocgrpc/client_stats_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
package ocgrpc

import (
"context"
"time"

"context"
"go.opencensus.io/tag"
"google.golang.org/grpc/grpclog"
"google.golang.org/grpc/stats"
Expand All @@ -30,7 +30,7 @@ func (h *ClientHandler) statsTagRPC(ctx context.Context, info *stats.RPCTagInfo)
startTime := time.Now()
if info == nil {
if grpclog.V(2) {
grpclog.Infof("clientHandler.TagRPC called with nil info.", info.FullMethodName)
grpclog.Info("clientHandler.TagRPC called with nil info.")
}
return ctx
}
Expand Down

0 comments on commit c3153da

Please sign in to comment.