Skip to content

Commit f497317

Browse files
committed
updated few log levels to debug
1 parent 7637c9e commit f497317

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/com/intuit/springwebclient/client/CommonSpringWebClient.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@ public <REQUEST, RESPONSE> ClientHttpResponse<RESPONSE> syncHttpResponse(
6464
public <REQUEST, RESPONSE> Mono<ClientHttpResponse<RESPONSE>> asyncHttpResponse(
6565
ClientHttpRequest<REQUEST, RESPONSE> httpRequest) {
6666
final Map<String, String> mdcContextMap = MDC.getCopyOfContextMap();
67-
log.info("asyncHttpResponse initiated. Captured MDC from calling thread: {}", mdcContextMap);
67+
log.debug("asyncHttpResponse initiated. Captured MDC from calling thread: {}", mdcContextMap);
6868

69-
// --- Build the Reactive Chain ---
7069
return generateResponseSpec(httpRequest)
7170
.toEntity(httpRequest.getResponseType())
7271
.map(this::generateResponse)
@@ -113,7 +112,7 @@ public <REQUEST, RESPONSE> Mono<ClientHttpResponse<RESPONSE>> asyncHttpResponse(
113112
})
114113
.doFinally(signalType -> {
115114
MDC.clear();
116-
log.info("MDC cleared after reactive chain completion (signal type: {}).", signalType);
115+
log.debug("MDC cleared after reactive chain completion (signal type: {}).", signalType);
117116
});
118117
}
119118

0 commit comments

Comments
 (0)