Hi, I am writing a Spring Boot Kotlin micro servi...
# server
a
Hi, I am writing a Spring Boot Kotlin micro service. I intend to use spring reactive stack along with Kotlin Flows/Coroutines. I want to log all incoming http request and response body in my micro service. What would be an appropriate approach to do that? Is writing a Filter which intercepts the request/response and reads the stream and then log it is safe and recommended? What other options I can explore? Thanks in advance
g
https://github.com/zalando/logbook just added support for Netty, I would give it a try
a
That is a really interesting option to explore. Cheers
I think logbook-netty is still not available on maven central.
g
Sorry, I thought they publish it already. Try to contact them