mirror of https://github.com/apache/activemq.git
[AMQ-6432] improve the logging to see the current offset
(cherry picked from commit e3b529129a
)
This commit is contained in:
parent
fb2063d177
commit
3a848971ff
|
@ -2101,9 +2101,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