-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
feedback providedFeedback has been provided to the authorFeedback has been provided to the author
Description
the bug appear only if you have a specific logger in DEBUG like this :
@Component
public class FeignLogger extends Logger {
@Override
protected Response logAndRebufferResponse(String configKey, Level logLevel, Response response, long elapsedTime) {
// NOOP
return response;
}
@Override
protected void log(String configKey, String format, Object... args) {
// NOOP
}
@Bean
public Level defaultFeignLogger() {
return BASIC;
}
}
DEBUG XXX.26 - exiting logAndRebufferResponse with result HTTP/1.1 206 Partial Content
content-type: application/json;charset=utf-8
server: Jetty(9.4.24.v20191120)
transfer-encoding: chunked
feign.Response$InputStreamBody@71ace013 .
16:30:07.301 [main] DEBUG XXX.FeignLogger:63 - [XXX] <--- ERROR IOException: stream is closed (227ms)
works with Feign 10.1 and not working with Feign 10.4
Metadata
Metadata
Assignees
Labels
feedback providedFeedback has been provided to the authorFeedback has been provided to the author