Improved logging.

This commit is contained in:
Simone Bordet 2015-02-26 23:38:02 +01:00
parent bbc2d0c29d
commit da80498c56
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ public abstract class HttpReceiver
HttpResponse response = exchange.getResponse(); HttpResponse response = exchange.getResponse();
if (LOG.isDebugEnabled()) if (LOG.isDebugEnabled())
LOG.debug("Response failure {} {}", response, failure); LOG.debug("Response failure {} {} on {}: {}", response, exchange, getHttpChannel(), failure);
List<Response.ResponseListener> listeners = exchange.getConversation().getResponseListeners(); List<Response.ResponseListener> listeners = exchange.getConversation().getResponseListeners();
ResponseNotifier notifier = getHttpDestination().getResponseNotifier(); ResponseNotifier notifier = getHttpDestination().getResponseNotifier();
notifier.notifyFailure(listeners, response, failure); notifier.notifyFailure(listeners, response, failure);