Author: gtully
Date: Wed Jul 29 14:58:32 2009
New Revision: 798931

URL: http://svn.apache.org/viewvc?rev=798931&view=rev
Log:
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

Modified:
    
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java

Modified: 
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java
URL: 
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java?rev=798931&r1=798930&r2=798931&view=diff
==============================================================================
--- 
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java 
(original)
+++ 
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java 
Wed Jul 29 14:58:32 2009
@@ -242,10 +242,6 @@
             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) {


Reply via email to