Author: clebert.suconic(a)jboss.com
Date: 2011-08-31 14:20:37 -0400 (Wed, 31 Aug 2011)
New Revision: 11260
Modified:
branches/Branch_2_2_EAP_cluster_clean3/src/main/org/hornetq/core/paging/cursor/impl/PageCursorProviderImpl.java
Log:
JBPAPP-6522 - fixing
Modified:
branches/Branch_2_2_EAP_cluster_clean3/src/main/org/hornetq/core/paging/cursor/impl/PageCursorProviderImpl.java
===================================================================
---
branches/Branch_2_2_EAP_cluster_clean3/src/main/org/hornetq/core/paging/cursor/impl/PageCursorProviderImpl.java 2011-08-31
16:07:12 UTC (rev 11259)
+++
branches/Branch_2_2_EAP_cluster_clean3/src/main/org/hornetq/core/paging/cursor/impl/PageCursorProviderImpl.java 2011-08-31
18:20:37 UTC (rev 11260)
@@ -373,8 +373,12 @@
if (complete)
{
- log.info("Address " + pagingStore.getAddress() +
+ if (log.isDebugEnabled())
+ {
+ log.debug("Address " + pagingStore.getAddress() +
" is leaving page mode as all messages are consumed and
acknowledged from the page store");
+ }
+
pagingStore.forceAnotherPage();
Page currentPage = pagingStore.getCurrentPage();