mirror of https://github.com/apache/activemq.git
[AMQ-6432] improve the logging to see the current offset
This commit is contained in:
parent
83511c96e5
commit
e3b529129a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue