[hornetq-commits] JBoss hornetq SVN: r9735 - trunk/src/main/org/hornetq/jms/bridge/impl.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Sep 30 12:52:38 EDT 2010
Author: clebert.suconic at jboss.com
Date: 2010-09-30 12:52:37 -0400 (Thu, 30 Sep 2010)
New Revision: 9735
Modified:
trunk/src/main/org/hornetq/jms/bridge/impl/JMSBridgeImpl.java
Log:
logging the cause of the connection issues with the bridge
Modified: trunk/src/main/org/hornetq/jms/bridge/impl/JMSBridgeImpl.java
===================================================================
--- trunk/src/main/org/hornetq/jms/bridge/impl/JMSBridgeImpl.java 2010-09-30 01:06:26 UTC (rev 9734)
+++ trunk/src/main/org/hornetq/jms/bridge/impl/JMSBridgeImpl.java 2010-09-30 16:52:37 UTC (rev 9735)
@@ -1232,10 +1232,8 @@
// If this fails we should attempt to cleanup or we might end up in some weird state
- if (log.isTraceEnabled())
- {
- log.trace("Failed to connect bridge", e);
- }
+ // Adding a log.warn, so the use may see the cause of the failure and take actions
+ log.warn("Failed to connect bridge", e);
cleanup();
More information about the hornetq-commits
mailing list