-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logging #92
Comments
I agree on its benefit. But I prefer simply using |
Wasn't there a very similar proposal before? See #54. Or is this different? |
I don't remember why I closed #54. But maybe I confused it with adding dependency to I did not want to add extra dependency for that small improvement. But |
Fine with me! |
I can put together a PR |
Any reason not to simply use the package I would assert that people who want to set the logging output for GRPC probably don't necessarily need to set different logging output for GRPC gateway - they generally either want it going somewhere they can control it, or they want it fully off |
@crast You are right. I am fine with |
Hey,
Old topic, simpler idea: I don't want to re-invent the wheel, but can we do something similar to https://github.com/grpc/grpc-go/tree/master/grpclog for gprc-gateway? Using glog means everyone is locked into glog's very opinionated way of storing output, and it means in a lot of cases (including mine) that I just completely lose grpc-gateway logs.
The only change in the code would be to get rid of v-level logging, but I mean this is minor as I see it within the code.
The text was updated successfully, but these errors were encountered: