diff --git a/.make/protobuf.mk b/.make/protobuf.mk index 7da48514c7..9cfef276f2 100644 --- a/.make/protobuf.mk +++ b/.make/protobuf.mk @@ -11,7 +11,8 @@ $(PROTO_SRC)/${NAME}.pb.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_GO) -I=../third_party/ \ -I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \ --plugin protoc-gen-go=$(PROTOC_GEN_GO) \ - --go_out=$(PROTO_SRC) --go_opt=paths=source_relative \ + --go_out=$(PROTO_SRC) \ + --go_opt=paths=source_relative \ $(PROTO_SRC)/${NAME}.proto .PHONY: $(PROTO_SRC)/${NAME}.pb.micro.go @@ -22,7 +23,8 @@ $(PROTO_SRC)/${NAME}.pb.micro.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_MICRO -I=../third_party/ \ -I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \ --plugin protoc-gen-micro=$(PROTOC_GEN_MICRO) \ - --micro_out=$(PROTO_SRC) --micro_opt=paths=source_relative \ + --micro_out=logtostderr=true:$(PROTO_SRC) \ + --micro_opt=paths=source_relative \ $(PROTO_SRC)/${NAME}.proto .PHONY: $(PROTO_SRC)/${NAME}.pb.web.go @@ -33,7 +35,8 @@ $(PROTO_SRC)/${NAME}.pb.web.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_MICROWE -I=../third_party/ \ -I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \ --plugin protoc-gen-microweb=$(PROTOC_GEN_MICROWEB) \ - --microweb_out=$(PROTO_SRC) --microweb_opt=paths=source_relative \ + --microweb_out=logtostderr=true:$(PROTO_SRC) \ + --microweb_opt=paths=source_relative \ $(PROTO_SRC)/${NAME}.proto .PHONY: $(PROTO_SRC)/${NAME}.swagger.json @@ -44,7 +47,7 @@ $(PROTO_SRC)/${NAME}.swagger.json: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_OPEN -I=../third_party/ \ -I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \ --plugin protoc-gen-openapiv2=$(PROTOC_GEN_OPENAPIV2) \ - --openapiv2_out=$(PROTO_SRC)/ \ + --openapiv2_out=logtostderr=true:$(PROTO_SRC)/ \ $(PROTO_SRC)/${NAME}.proto .PHONY: ../docs/extensions/${NAME}/grpc.md