mirror of https://github.com/apache/activemq.git
reduce message to info when iteration takes > 100ms from warn
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@775990 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7310949981
commit
bb153aeb12
|
@ -476,7 +476,7 @@ public class MessageDatabase {
|
|||
}
|
||||
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 @@ public class MessageDatabase {
|
|||
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) {
|
||||
|
|
Loading…
Reference in New Issue