From d5333d4e448eadcc92e6a43136419c2cc41e309f Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Wed, 29 Jul 2009 14:58:32 +0000 Subject: [PATCH] with warn level logging this becomes too verbose in production envs, reverting the warn level, info still available using debug level: https://issues.apache.org/activemq/browse/AMQ-2158 git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@798931 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/activemq/usage/Usage.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java b/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java index cf9d63aeb6..95be793261 100755 --- a/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java +++ b/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java @@ -242,10 +242,6 @@ public abstract class Usage implements Service { LOG.debug("Memory usage change from: " + oldPercentUsage + "% of available memory, to: " + newPercentUsage + "% of available memory"); } - if (newPercentUsage >= 100) { - LOG.warn("Memory usage is now at " + newPercentUsage + "%"); - } - if (started.get()) { // Switching from being full to not being full.. if (oldPercentUsage >= 100 && newPercentUsage < 100) {