Issue #2346 Revert stack logging
Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
parent
820b5752d7
commit
4cc8f4dcf6
|
@ -563,10 +563,10 @@ public class HttpChannel implements Runnable, HttpOutput.Interceptor
|
||||||
}
|
}
|
||||||
else if (failure instanceof BadMessageException | failure instanceof IOException | failure instanceof TimeoutException)
|
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())
|
if (LOG.isDebugEnabled())
|
||||||
LOG.debug(_request.getRequestURI(), failure);
|
LOG.debug(_request.getRequestURI(), failure);
|
||||||
else
|
|
||||||
LOG.warn(_request.getRequestURI(), failure);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue