Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

BZ915760 - Trace stack is too verbose for DEBUG level #1728

Merged
merged 1 commit into from

2 participants

@jbertram
Owner

Conflicts:
hornetq-server/src/main/java/org/hornetq/core/server/cluster/impl/ClusterConnectionBridge.java

@jbertram jbertram BZ915760 - Trace stack is too verbose for DEBUG level
Conflicts:
	hornetq-server/src/main/java/org/hornetq/core/server/cluster/impl/ClusterConnectionBridge.java
dd51c4a
@clebertsuconic clebertsuconic merged commit dfd1e66 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 22, 2014
  1. @jbertram

    BZ915760 - Trace stack is too verbose for DEBUG level

    jbertram authored
    Conflicts:
    	hornetq-server/src/main/java/org/hornetq/core/server/cluster/impl/ClusterConnectionBridge.java
This page is out of date. Refresh to see the latest.
View
7 hornetq-core-client/src/main/java/org/hornetq/core/client/impl/Topology.java
@@ -156,8 +156,11 @@ public TopologyMemberImpl updateBackup(final TopologyMemberImpl memberInput)
TopologyMemberImpl currentMember = getMember(nodeId);
if (currentMember == null)
{
- HornetQClientLogger.LOGGER.debug("There's no live to be updated on backup update, node=" + nodeId + " memberInput=" + memberInput,
- new Exception("trace"));
+ if (HornetQClientLogger.LOGGER.isTraceEnabled())
+ {
+ HornetQClientLogger.LOGGER.trace("There's no live to be updated on backup update, node=" + nodeId + " memberInput=" + memberInput,
+ new Exception("trace"));
+ }
currentMember = memberInput;
topology.put(nodeId, currentMember);
View
4 hornetq-server/src/main/java/org/hornetq/core/paging/cursor/impl/PageCursorProviderImpl.java
@@ -91,9 +91,9 @@ public PageCursorProviderImpl(final PagingStore pagingStore,
public synchronized PageSubscription createSubscription(long cursorID, Filter filter, boolean persistent)
{
- if (HornetQServerLogger.LOGGER.isDebugEnabled())
+ if (HornetQServerLogger.LOGGER.isTraceEnabled())
{
- HornetQServerLogger.LOGGER.debug(this.pagingStore.getAddress() + " creating subscription " + cursorID + " with filter " + filter, new Exception("trace"));
+ HornetQServerLogger.LOGGER.trace(this.pagingStore.getAddress() + " creating subscription " + cursorID + " with filter " + filter, new Exception("trace"));
}
if (activeCursors.containsKey(cursorID))
View
4 hornetq-server/src/main/java/org/hornetq/core/postoffice/impl/SimpleAddressManager.java
@@ -63,9 +63,9 @@ public boolean addBinding(final Binding binding) throws Exception
throw HornetQMessageBundle.BUNDLE.bindingAlreadyExists(binding);
}
- if (HornetQServerLogger.LOGGER.isDebugEnabled())
+ if (HornetQServerLogger.LOGGER.isTraceEnabled())
{
- HornetQServerLogger.LOGGER.debug("Adding binding " + binding + " with address = " + binding.getUniqueName(), new Exception("trace"));
+ HornetQServerLogger.LOGGER.trace("Adding binding " + binding + " with address = " + binding.getUniqueName(), new Exception("trace"));
}
return addMappingInternal(binding.getAddress(), binding);
View
12 hornetq-server/src/main/java/org/hornetq/core/server/cluster/impl/ClusterConnectionBridge.java
@@ -135,10 +135,10 @@ public ClusterConnectionBridge(final ClusterConnection clusterConnection, final
// we need to disable DLQ check on the clustered bridges
queue.setInternalQueue(true);
- if (HornetQServerLogger.LOGGER.isDebugEnabled())
+ if (HornetQServerLogger.LOGGER.isTraceEnabled())
{
- HornetQServerLogger.LOGGER.debug("Setting up bridge between " + clusterConnection.getConnector() + " and " + targetLocator,
- new Exception("trace"));
+ HornetQServerLogger.LOGGER.trace("Setting up bridge between " + clusterConnection.getConnector() + " and " + targetLocator,
+ new Exception("trace"));
}
}
@@ -290,8 +290,10 @@ private void setupNotificationConsumer() throws Exception
session.start();
ClientMessage message = session.createMessage(false);
-
- HornetQServerLogger.LOGGER.debug("Requesting sendQueueInfoToQueue through " + this, new Exception("trace"));
+ if (HornetQServerLogger.LOGGER.isTraceEnabled())
+ {
+ HornetQServerLogger.LOGGER.trace("Requesting sendQueueInfoToQueue through " + this, new Exception("trace"));
+ }
ManagementHelper.putOperationInvocation(message,
ResourceNames.CORE_SERVER,
"sendQueueInfoToQueue",
Something went wrong with that request. Please try again.