How to log request and response bodies in Spring WebFlux

前端 未结 9 1162
一向
一向 2020-11-27 16:41

I want to have centralised logging for requests and responses in my REST API on Spring WebFlux with Kotlin. So far I\'ve tried this approaches

@Bean
fun apiR         


        
9条回答
  •  生来不讨喜
    2020-11-27 17:09

    Here is the GitHub Repo with complete implementation to log both request and response body along with http headers for webflux/java based application...

提交回复
热议问题