Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 61518 invoked from network); 25 Feb 2011 14:55:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2011 14:55:15 -0000 Received: (qmail 37077 invoked by uid 500); 25 Feb 2011 14:55:15 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 37008 invoked by uid 500); 25 Feb 2011 14:55:13 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 37001 invoked by uid 99); 25 Feb 2011 14:55:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Feb 2011 14:55:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Feb 2011 14:55:09 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C7136238899C; Fri, 25 Feb 2011 14:54:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1074550 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java Date: Fri, 25 Feb 2011 14:54:48 -0000 To: commits@activemq.apache.org From: gtully@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110225145448.C7136238899C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: gtully Date: Fri Feb 25 14:54:48 2011 New Revision: 1074550 URL: http://svn.apache.org/viewvc?rev=1074550&view=rev Log: suppress stack trace from failed add connecton to debug level trace, such that the warn just has the exception toString, with an authenticated broker, the stack trace is too much information and is the predominant reason for a failure to add Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java?rev=1074550&r1=1074549&r2=1074550&view=diff ============================================================================== --- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java (original) +++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java Fri Feb 25 14:54:48 2011 @@ -695,7 +695,10 @@ public class TransportConnection impleme broker.addConnection(context, info); } catch (Exception e) { brokerConnectionStates.remove(info); - LOG.warn("Failed to add Connection", e); + LOG.warn("Failed to add Connection, reason: " + e.toString()); + if (LOG.isDebugEnabled()) { + LOG.debug("Failure detail", e); + } throw e; } if (info.isManageable()) {