Enable FeignClient Logging: Debug Requests & Responses
To view the request and response information of a FeignClient when calling a remote interface, you can enable logging by adding the following configuration to the application’s settings file.
logging:
level:
com.netflix.feign: DEBUG
This will adjust the log level of FeignClient to DEBUG, allowing it to output detailed request and response information. The log level can be adjusted as needed to display different information, such as INFO, WARN, etc.