activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject activemq git commit: [AMQ-6432] improve the logging to see the current offset
Date Thu, 02 Feb 2017 12:14:41 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 83511c96e -> e3b529129


[AMQ-6432] improve the logging to see the current offset


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/e3b52912
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/e3b52912
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/e3b52912

Branch: refs/heads/master
Commit: e3b529129a490d760d21692736e7c0dda7e615e2
Parents: 83511c9
Author: gtully <gary.tully@gmail.com>
Authored: Thu Feb 2 12:14:17 2017 +0000
Committer: gtully <gary.tully@gmail.com>
Committed: Thu Feb 2 12:14:17 2017 +0000

----------------------------------------------------------------------
 .../java/org/apache/activemq/store/kahadb/MessageDatabase.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/e3b52912/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
----------------------------------------------------------------------
diff --git a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
index 06e5248..6790383 100644
--- a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
+++ b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
@@ -2104,9 +2104,9 @@ public abstract class MessageDatabase extends ServiceSupport implements
BrokerSe
         try {
             location = journal.getNextLocation(nextLocation);
         } catch (IOException e) {
-            LOG.warn("Failed to load next journal location: {}", e.getMessage());
+            LOG.warn("Failed to load next journal location after: {}, reason: {}", nextLocation,
e);
             if (LOG.isDebugEnabled()) {
-                LOG.debug("Failed to load next journal location", e);
+                LOG.debug("Failed to load next journal location after: {}", nextLocation,
e);
             }
         }
         return location;


Mime
View raw message