Issue #2346 Revert stack logging

Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
Greg Wilkins 2018-05-16 17:21:06 +10:00
parent 820b5752d7
commit 4cc8f4dcf6
1 changed files with 2 additions and 2 deletions

View File

@ -563,10 +563,10 @@ public class HttpChannel implements Runnable, HttpOutput.Interceptor
}
else if (failure instanceof BadMessageException | failure instanceof IOException | failure instanceof TimeoutException)
{
// No stack trace unless there is debug turned on
LOG.warn("{} {}",_request.getRequestURI(), failure.toString());
if (LOG.isDebugEnabled())
LOG.debug(_request.getRequestURI(), failure);
else
LOG.warn(_request.getRequestURI(), failure);
}
else
{