Skip to content
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

Access Log #147

Closed
QeyCoder opened this issue May 21, 2020 · 2 comments
Closed

Access Log #147

QeyCoder opened this issue May 21, 2020 · 2 comments

Comments

@QeyCoder
Copy link

I'm migrating my application to grpc. Everything working fine but for latency plotting I need access log in tomcat but I'm unable to generate access log. The only solution I found so far is the server interceptor. Doesn't grpc support access logging just like we have in tomcat if yes how to enable?

127.0.0.1 - - [18/May/2020:13:06:28 +0530] "POST /app/api/v1.0/search HTTP/1.1" 200 1931396 1938

@jvmlet
Copy link
Collaborator

jvmlet commented May 21, 2020

Tomcat ? grpc-server uses netty underneath by default and this is binary protocol.

@jvmlet
Copy link
Collaborator

jvmlet commented May 21, 2020

FYI grpc/grpc-java#1577 . Closing as not-related to this starter

@jvmlet jvmlet closed this as completed May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants