Add logPrefix to the log statement
Add logPrefix to the log statement to provide better debugging experience
This commit is contained in:
committed by
Rossen Stoyanchev
parent
f4f1abb27a
commit
1fe2ea5a87
@@ -158,7 +158,7 @@ public abstract class HandlerResultHandlerSupport implements Ordered {
|
||||
if (selected != null) {
|
||||
selected = selected.removeQualityValue();
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("Using '" + selected + "' given " + acceptableTypes +
|
||||
logger.debug(exchange.getLogPrefix() + "Using '" + selected + "' given " + acceptableTypes +
|
||||
" and supported " + producibleTypes);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user