Enable logging in xds interop docker containers (#4482)
This commit is contained in:

committed by
GitHub

parent
598e3f6a9d
commit
e26e756f13
@ -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"]
|
||||
|
@ -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"]
|
||||
|
Reference in New Issue
Block a user