Skip to content

Commit

Permalink
interop/xds: Increase go log verbosity to 99 so that EDS is logged
Browse files Browse the repository at this point in the history
gRPC-go versions v1.54.x and later don't log ADS responses anymore.
This makes it hard to debug without being able to see EDS resources.
Logging behavior was changed by
#5992.

This PR updates XdsTestServer/XdsTestClient Docker images so that
GRPC_GO_LOG_VERBOSITY_LEVEL is increased from `2` to `99`.

RELEASE NOTES: N/A
  • Loading branch information
sergiitk committed Dec 15, 2023
1 parent df02c11 commit 3ebfc49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interop/xds/client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN go build -tags osusergo,netgo interop/xds/client/client.go
# reduces the docker image size.
FROM alpine
COPY --from=build /go/src/grpc-go/client .
ENV GRPC_GO_LOG_VERBOSITY_LEVEL=2
ENV GRPC_GO_LOG_VERBOSITY_LEVEL=99
ENV GRPC_GO_LOG_SEVERITY_LEVEL="info"
ENV GRPC_GO_LOG_FORMATTER="json"
ENTRYPOINT ["./client"]
2 changes: 1 addition & 1 deletion interop/xds/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN go build -tags osusergo,netgo interop/xds/server/server.go
# reduces the docker image size.
FROM alpine
COPY --from=build /go/src/grpc-go/server .
ENV GRPC_GO_LOG_VERBOSITY_LEVEL=2
ENV GRPC_GO_LOG_VERBOSITY_LEVEL=99
ENV GRPC_GO_LOG_SEVERITY_LEVEL="info"
ENV GRPC_GO_LOG_FORMATTER="json"
ENTRYPOINT ["./server"]

0 comments on commit 3ebfc49

Please sign in to comment.