Feign Client request and response and URL Logging
问题 How I can log the payload of Feign client request, response and URL. do I have to Implement an Interceptor? Because my requirement is logging the request and response on a special table on the database. 回答1: Feign has out of box logging mechanism and it can be achieved through simple steps. If you are using spring-cloud-starter-feign Feign using Slf4jLogger for logging.Feign logging documentation As per doc, the below logging levels are available to configure, NONE - No logging (DEFAULT).