You need to configure logging in application.properties as below:

logging.level.<package path>.MyClient=DEBUG

If you're using application.yml then:

logging.level.<package path>.MyClient: DEBUG

The log level can be set to tell Feign how much to log.

Options are:

  • NONE, No logging (DEFAULT)
  • BASIC, Log only the request method and URL and the response status code and execution time
  • HEADERS, Log the basic information along with request and response headers
  • FULL, Log the headers, body, and metadata for both requests and responses

Example:

logLevel(feign.Logger.Level.NONE)
or
logLevel(feign.Logger.Level.BASIC)
or
logLevel(feign.Logger.Level.HEADERS)
or
logLevel(feign.Logger.Level.FULL)

For more details, you can refer this

Answer from Maverick on Stack Overflow
🌐
Medium
bvn13.medium.com › normalized-logger-for-openfeign-8727b4e5d776
Normalized Logger for OpenFeign. Standard Feign logger provides the only… | by Vyacheslav Boyko | Medium
August 12, 2022 - Normalized Logger for OpenFeign Standard OpenFeign logger provides the only approach to log communications — it logs every header in separated log entries, the body goes into another log entry. It …
🌐
Spring Cloud
cloud.spring.io › spring-cloud-openfeign › 2.2.x › reference › html
Spring Cloud OpenFeign
1.9. Feign logging · 1.10. Feign @QueryMap support · 1.11. HATEOAS support · 1.12. Spring @MatrixVariable Support · 1.13. Reactive Support · 1.13.1. Early Initialization Errors · 2. Configuration properties · 2.2.4.BUILD-SNAPSHOT · This project provides OpenFeign integrations for Spring Boot apps through autoconfiguration and binding to the Spring Environment and other Spring programming model idioms.
🌐
Getdocs
spring.getdocs.org › en-US › spring-cloud-docs › spring-cloud-openfeign › spring-cloud-feign › feign-logging.html
Untitled :: Spring Docs
A logger is created for each Feign client created. By default the name of the logger is the full class name of the interface used to create the Feign client.
🌐
GitHub
github.com › bvn13 › OpenFeign-NormalizedLogger
GitHub - bvn13/OpenFeign-NormalizedLogger: Normalized Logger for OpenFeign · GitHub
Standard OpenFeign logger provides the only approach to log communications - it logs every header in separated log entries, the body goes into another log entry.
Author: bvn13
🌐
Poznachowski
blog.poznachowski.pl › posts › feign-slf4j-logger
Feign Slf4j Logger you wish you had // It's SOAP's Fault...
August 17, 2021 - spring-cloudspring-cloud-openfeignfeignslf4jlogger · When it comes to Feign and logging its requests and responses, it provides Logger - an abstraction layer with dedicated set of log Levels: Most popular Feign Logger implementation is the SLF4j that outputs Feign information to DEBUG level ...
🌐
Baeldung
baeldung.com › home › spring › spring boot › feign logging configuration
Feign Logging Configuration | Baeldung
February 26, 2025 - To enable logging, we need to set the Spring Boot logging level to DEBUG for the class or package that contains our feign client in the application.properties file.
Find elsewhere
🌐
Spring
docs.spring.io › spring-cloud-openfeign › docs › current › reference › html
Spring Cloud OpenFeign
spring: cloud: openfeign: client: config: default: connectTimeout: 5000 readTimeout: 5000 loggerLevel: basic
🌐
Baeldung
baeldung.com › home › spring › spring cloud › introduction to spring cloud openfeign
Introduction to Spring Cloud OpenFeign | Baeldung
February 19, 2026 - The interceptors can perform a variety of implicit tasks, from authentication to logging, for every HTTP request/response. In this section, we’ll implement our own interceptor, as well as use the one provided by the Spring Cloud OpenFeign out-of-the-box.
🌐
DeepWiki
deepwiki.com › spring-cloud › spring-cloud-openfeign › 3.3-logging-configuration
Logging Configuration | spring-cloud/spring-cloud-openfeign | DeepWiki
April 29, 2025 - The DefaultFeignLoggerFactory is responsible for creating loggers for Feign clients. As shown in the implementation, it either uses a pre-configured logger or creates a new Slf4jLogger for the specified type: Sources: spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/DefaultFeignLoggerFactory.java
🌐
Sofastack
sofastack.tech › en › projects › sofa-tracer › log-format-openfeign
OpenFeign log · 蚂蚁云原生架构SOFAStack
SOFATracer integrates Spring Cloud OpenFeign and outputs the requested link log data format.
🌐
DeepWiki
deepwiki.com › OpenFeign › feign › 2.5-logging-system
Logging System | OpenFeign/feign | DeepWiki
This page documents Feign's logging abstraction and implementations. The logging system allows developers to observe HTTP requests and responses at various levels of detail, supporting debugging, trou
🌐
Javadoc.io
javadoc.io › doc › io.github.openfeign › feign-core › 10.9.1 › feign › Logger.html
Logger - feign-core 10.9.1 javadoc
Latest version of io.github.openfeign:feign-core · https://javadoc.io/doc/io.github.openfeign/feign-core · Current version 10.9.1 · https://javadoc.io/doc/io.github.openfeign/feign-core/10.9.1 · package-list path (used for javadoc generation -link option) https://javadoc.io/doc/io.github.openfeign/feign-core/10.9.1/package-list ·
🌐
GitHub
github.com › OpenFeign › feign › tree › master › slf4j
feign/slf4j at master · OpenFeign/feign
This module allows directing Feign's logging to SLF4J, allowing you to easily use a logging backend of your choice (Logback, Log4J, etc.)
Author: OpenFeign
🌐
GitHub
github.com › OpenFeign › feign › blob › master › slf4j › src › main › java › feign › slf4j › Slf4jLogger.java
feign/slf4j/src/main/java/feign/slf4j/Slf4jLogger.java at master · OpenFeign/feign
* feign.Logger}. */ public class Slf4jLogger extends feign.Logger { · private final Logger logger; · public Slf4jLogger() { this(feign.Logger.class); } · public Slf4jLogger(Class<?> clazz) { this(LoggerFactory.getLogger(clazz)); } ·
🌐
Junhyunny
junhyunny.github.io › spring-boot › spring-cloud › logging-for-feign-client
FeignClient 로깅 적용하기 - Junhyunny’s Devlogs
April 25, 2026 - package action.in.blog.config; import feign.Logger; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class FeignLoggerConfig { @Bean Logger.Level feignLoggerLevel() { return Logger.Level.FULL; } } 간단한 테스트 코드를 통해 출력되는 로그를 살펴보자. 다음과 같은 BlogClient 인터페이스를 만든다. 메서드들을 수행할 때 출력되는 로그를 살펴본다. ... package action.in.blog.client; import action.in.blog.domain.Post; import org.springframework.cloud.openfeign.Feign
🌐
Javadoc.io
javadoc.io › doc › io.github.openfeign › feign-core › 10.7.0 › feign › Logger.html
Logger - feign-core 10.7.0 javadoc
Latest version of io.github.openfeign:feign-core · https://javadoc.io/doc/io.github.openfeign/feign-core · Current version 10.7.0 · https://javadoc.io/doc/io.github.openfeign/feign-core/10.7.0 · package-list path (used for javadoc generation -link option) https://javadoc.io/doc/io.github.openfeign/feign-core/10.7.0/package-list ·
🌐
Programmersought
programmersought.com › article › 6866449848
Spring Cloud OpenFeign Custom Log - Programmer Sought
This project provides OpenFeign integrations for Spring Boot apps through autoconfiguration and binding to the Spring Environment and other Spring programming model idioms.