Logging request and response json payloads with Hystrix Feign

14,804

When you define your feign configuration, you have to set the feign logger level, according to the feign logger class, you have 4 possible values, so probably you want to use Logger.Level.FULL.

Hope this help you.

Share:
14,804
Admin
Author by

Admin

Updated on June 11, 2022

Comments

  • Admin
    Admin almost 2 years

    I am using Hystrix Feign with Spring Encoder. I want to log exact request (Json) payload that goes out with each request and also the response. How can I do that?