mirror of
https://github.com/apache/activemq.git
synced 2025-02-08 02:59:40 +00:00
AMQ-8548 - Don't log full stack trace on Async error at WARN level
This commit is contained in:
parent
04e5114e21
commit
f759fb0bd1
@ -309,7 +309,7 @@ public class TransportConnection implements Connection, Task, CommandVisitor {
|
||||
if (SERVICELOG.isDebugEnabled()) {
|
||||
SERVICELOG.debug("Async error occurred: {}", e.getMessage(), e);
|
||||
} else {
|
||||
SERVICELOG.warn("Async error occurred", e);
|
||||
SERVICELOG.warn("Async error occurred", e.getMessage());
|
||||
}
|
||||
ConnectionError ce = new ConnectionError();
|
||||
ce.setException(e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user