activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r775990 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
Date Mon, 18 May 2009 15:33:57 GMT
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) {



Mime
View raw message