You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by bs...@apache.org on 2009/06/29 18:29:38 UTC
svn commit: r789378 -
/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/usage/Usage.java
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");
}
}
}