mirror of
https://github.com/apache/activemq.git
synced 2025-02-28 13:19:07 +00:00
demote log error or async exception to warn, with sendFailIfNoSpace, logs gets spammed with expected error messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@742603 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
15065b71c7
commit
504bcf0596
@ -290,7 +290,7 @@ public class TransportConnection implements Connection, Task, CommandVisitor {
|
|||||||
} else if (!stopping.get() && !inServiceException) {
|
} else if (!stopping.get() && !inServiceException) {
|
||||||
inServiceException = true;
|
inServiceException = true;
|
||||||
try {
|
try {
|
||||||
SERVICELOG.error("Async error occurred: " + e, e);
|
SERVICELOG.warn("Async error occurred: " + e, e);
|
||||||
ConnectionError ce = new ConnectionError();
|
ConnectionError ce = new ConnectionError();
|
||||||
ce.setException(e);
|
ce.setException(e);
|
||||||
dispatchAsync(ce);
|
dispatchAsync(ce);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user