There was some work on binary logs to dump the traffic to disk (for replay), but It wasn't anything like access logs. I assume you mean something like Apache's log per request.
If you are considering writing one, I foresee a few problems: 1. Streaming calls may take a long time. Should the beginning or end be logged, or both? 2. Request size is tricky. Do you include the headers and trailers? 3. Writing and flushing to disk (or to a remote log service) might need some buffering considerations. On Wednesday, February 6, 2019 at 9:12:12 AM UTC-8, [email protected] wrote: > > Hello, > > I'm working on a grpc service in python and would like to have the server > write simple access logs. Seems like someone else has probably run into > that, but I can't find an existing interceptor. Is there one out there? > > Thanks, > Ross > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/9ee58e0a-bcd2-4fd4-bc03-4f06bfb73a4f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
