activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bsny...@apache.org
Subject svn commit: r789378 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java
Date Mon, 29 Jun 2009 16:29:38 GMT
Author: bsnyder
Date: Mon Jun 29 16:29:37 2009
New Revision: 789378

URL: http://svn.apache.org/viewvc?rev=789378&view=rev
Log:
Slight enhancements in logging for 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=789378&r1=789377&r2=789378&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 Mon Jun
29 16:29:37 2009
@@ -239,7 +239,8 @@
 
     private void fireEvent(final int oldPercentUsage, final int newPercentUsage) {
         if (debug) {
-            LOG.debug("Memory usage change.  from: " + oldPercentUsage + ", to: " + newPercentUsage);
+            LOG.debug("Memory usage change from: " + oldPercentUsage + "% of available memory,
to: " 
+                + newPercentUsage + "% of available memory");
         }   
         if (newPercentUsage >= 80) {
             LOG.warn("Memory usage is now over 80%!");
@@ -271,7 +272,7 @@
             if (started.get()) {
                 getExecutor().execute(listenerNotifier);
             } else {
-                LOG.warn("not notifying usage change to listeners on shutdown");
+                LOG.warn("Not notifying memory usage change to listeners on shutdown");
             }
         }
     }



Mime
View raw message