Commit 6fd42a8d authored by Brian Long's avatar Brian Long
Browse files

added minor response trace logging

parent aea7a0d0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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");
		}
	}