You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2009/05/18 17:33:57 UTC
svn commit: r775990 -
/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
Author: gtully
Date: Mon May 18 15:33:56 2009
New Revision: 775990
URL: http://svn.apache.org/viewvc?rev=775990&view=rev
Log:
reduce message to info when iteration takes > 100ms from warn
Modified:
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java?rev=775990&r1=775989&r2=775990&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java Mon May 18 15:33:56 2009
@@ -476,7 +476,7 @@
}
long end = System.currentTimeMillis();
if( end-start > 100 ) {
- LOG.warn("KahaDB Cleanup took "+(end-start));
+ LOG.info("KahaDB Cleanup took "+(end-start));
}
} catch (IOException e) {
e.printStackTrace();
@@ -522,7 +522,7 @@
process(data, location);
long end = System.currentTimeMillis();
if( end-start > 100 ) {
- LOG.warn("KahaDB long enqueue time: Journal Add Took: "+(start2-start)+" ms, Index Update took "+(end-start2)+" ms");
+ LOG.info("KahaDB long enqueue time: Journal Add Took: "+(start2-start)+" ms, Index Update took "+(end-start2)+" ms");
}
synchronized (indexMutex) {