added minor response trace logging
This commit is contained in:
parent
aea7a0d035
commit
6fd42a8daf
@ -45,6 +45,8 @@ public class LoggingFilter implements ClientRequestFilter, ClientResponseFilter
|
||||
@Override
|
||||
public void filter(ClientRequestContext requestContext, ClientResponseContext responseContext) throws IOException {
|
||||
if (this.loggerResponse.isTraceEnabled()) {
|
||||
this.loggerResponse.trace("response: {} ", this.om.writeValueAsString(responseContext.getStatus()));
|
||||
// WARN body is stream, which would need to be replaced after read
|
||||
this.loggerResponse.warn("response: NOT YET SUPPORTED");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user