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:
Gary Tully 2009-02-09 16:33:50 +00:00
parent 15065b71c7
commit 504bcf0596
1 changed files with 1 additions and 1 deletions

View File

@ -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);