NO-JIRA Update Paging Logging with extra information
This commit is contained in:
parent
ef677d14d4
commit
e4276e8cd0
|
@ -920,7 +920,10 @@ public final class PageSubscriptionImpl implements PageSubscription {
|
|||
}
|
||||
|
||||
if (cache == null || pos.getMessageNr() >= 0 && cache.getMessage(pos) == null) {
|
||||
ActiveMQServerLogger.LOGGER.pageNotFound(pos);
|
||||
try {
|
||||
ActiveMQServerLogger.LOGGER.pageNotFound(pos, this.cursorId, this.queue.getName().toString());
|
||||
} catch (Throwable ignored) {
|
||||
}
|
||||
if (txDeleteCursorOnReload == -1) {
|
||||
txDeleteCursorOnReload = store.generateID();
|
||||
}
|
||||
|
|
|
@ -571,9 +571,9 @@ public interface ActiveMQServerLogger extends BasicLogger {
|
|||
void timedOutFlushingExecutorsPagingCursor(PageSubscription pageSubscription);
|
||||
|
||||
@LogMessage(level = Logger.Level.WARN)
|
||||
@Message(id = 222028, value = "Could not find page cache for page {0} removing it from the journal",
|
||||
@Message(id = 222028, value = "Could not find page cache for page {0}, on queue {1}/{2} removing it from the journal",
|
||||
format = Message.Format.MESSAGE_FORMAT)
|
||||
void pageNotFound(PagePosition pos);
|
||||
void pageNotFound(PagePosition pos, long queueID, String queue);
|
||||
|
||||
@LogMessage(level = Logger.Level.WARN)
|
||||
@Message(id = 222029,
|
||||
|
|
Loading…
Reference in New Issue