Author: clebert.suconic(a)jboss.com
Date: 2011-11-09 14:10:14 -0500 (Wed, 09 Nov 2011)
New Revision: 11682
Modified:
branches/Branch_2_2_AS7/src/main/org/hornetq/core/client/impl/ServerLocatorImpl.java
Log:
just fixing a log statement
Modified:
branches/Branch_2_2_AS7/src/main/org/hornetq/core/client/impl/ServerLocatorImpl.java
===================================================================
---
branches/Branch_2_2_AS7/src/main/org/hornetq/core/client/impl/ServerLocatorImpl.java 2011-11-09
18:52:15 UTC (rev 11681)
+++
branches/Branch_2_2_AS7/src/main/org/hornetq/core/client/impl/ServerLocatorImpl.java 2011-11-09
19:10:14 UTC (rev 11682)
@@ -609,10 +609,12 @@
public ClientSessionFactory createSessionFactory(String nodeID) throws Exception
{
- log.trace(topology.describe("full topology"));
TopologyMember topologyMember = topology.getMember(nodeID);
- log.trace("Creating connection factory towards " + nodeID + " =
" + topologyMember);
+ if (log.isTraceEnabled())
+ {
+ log.trace("Creating connection factory towards " + nodeID + " =
" + topologyMember + ", topology=" + topology.describe());
+ }
if (topologyMember == null)
{