Enable logging in xds interop docker containers (#4482)

This commit is contained in:
Easwar Swaminathan
2021-05-25 15:43:14 -07:00
committed by GitHub
parent 598e3f6a9d
commit e26e756f13
2 changed files with 4 additions and 0 deletions

View File

@ -31,4 +31,6 @@ 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_SEVERITY_LEVEL="info"
ENTRYPOINT ["./client"]

View File

@ -31,4 +31,6 @@ 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_SEVERITY_LEVEL="info"
ENTRYPOINT ["./server"]