activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1306895 - /activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala
Date Thu, 29 Mar 2012 15:10:03 GMT
Author: chirino
Date: Thu Mar 29 15:10:03 2012
New Revision: 1306895

URL: http://svn.apache.org/viewvc?rev=1306895&view=rev
Log:
improve the log message level when inconsistencies are detected from the store.  Suggested
in issue APLO-176

Modified:
    activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala

Modified: activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala?rev=1306895&r1=1306894&r2=1306895&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala
Thu Mar 29 15:10:03 2012
@@ -1743,7 +1743,7 @@ class QueueEntry(val queue:Queue, val se
             queue.store_load_source.merge((this, delivery.get))
           } else {
 
-            info("Detected store dropped message at seq: %d", seq)
+            warn("Queue '%s' detected store dropped message at seq: %d", queue.id, seq)
 
             // Looks like someone else removed the message from the store.. lets just
             // tombstone this entry now.
@@ -1921,7 +1921,7 @@ class QueueEntry(val queue:Queue, val se
             val size_delta: Int = size - size_count
 
             if ( item_delta!=0 || size_delta!=0 ) {
-              info("Detected store change in range %d to %d. %d message(s) and %d bytes",
seq, last, item_delta, size_delta)
+              warn("Queue '%s' detected store change in range [%d:%d]. %d message(s) and
%d bytes", queue.id, seq, last, item_delta, size_delta)
               queue.enqueue_item_counter += item_delta
               queue.enqueue_size_counter += size_delta
             }



Mime
View raw message