This closes #2196
This commit is contained in:
commit
168a7cfea5
|
@ -739,7 +739,7 @@ public class PagingStoreImpl implements PagingStore {
|
|||
if (size > 0) {
|
||||
if (maxSize != -1 && newSize > maxSize || globalFull) {
|
||||
if (startPaging()) {
|
||||
ActiveMQServerLogger.LOGGER.pageStoreStart(storeName, newSize, maxSize);
|
||||
ActiveMQServerLogger.LOGGER.pageStoreStart(storeName, newSize, maxSize, pagingManager.getGlobalSize());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -785,7 +785,7 @@ public class PagingStoreImpl implements PagingStore {
|
|||
if (!printedDropMessagesWarning) {
|
||||
printedDropMessagesWarning = true;
|
||||
|
||||
ActiveMQServerLogger.LOGGER.pageStoreDropMessages(storeName, sizeInBytes.get(), maxSize);
|
||||
ActiveMQServerLogger.LOGGER.pageStoreDropMessages(storeName, sizeInBytes.get(), maxSize, pagingManager.getGlobalSize());
|
||||
}
|
||||
|
||||
if (message.isLargeMessage()) {
|
||||
|
|
|
@ -580,12 +580,12 @@ public interface ActiveMQServerLogger extends BasicLogger {
|
|||
void pageStoreStartIOError(@Cause Exception e);
|
||||
|
||||
@LogMessage(level = Logger.Level.WARN)
|
||||
@Message(id = 222038, value = "Starting paging on address ''{0}''; size is currently: {1} bytes; max-size-bytes: {2}", format = Message.Format.MESSAGE_FORMAT)
|
||||
void pageStoreStart(SimpleString storeName, long addressSize, long maxSize);
|
||||
@Message(id = 222038, value = "Starting paging on address ''{0}''; size is currently: {1} bytes; max-size-bytes: {2}; global-size-bytes: {3}", format = Message.Format.MESSAGE_FORMAT)
|
||||
void pageStoreStart(SimpleString storeName, long addressSize, long maxSize, long globalMaxSize);
|
||||
|
||||
@LogMessage(level = Logger.Level.WARN)
|
||||
@Message(id = 222039, value = "Messages sent to address ''{0}'' are being dropped; size is currently: {1} bytes; max-size-bytes: {2}", format = Message.Format.MESSAGE_FORMAT)
|
||||
void pageStoreDropMessages(SimpleString storeName, long addressSize, long maxSize);
|
||||
@Message(id = 222039, value = "Messages sent to address ''{0}'' are being dropped; size is currently: {1} bytes; max-size-bytes: {2}; global-size-bytes: {3}", format = Message.Format.MESSAGE_FORMAT)
|
||||
void pageStoreDropMessages(SimpleString storeName, long addressSize, long maxSize, long globalMaxSize);
|
||||
|
||||
@LogMessage(level = Logger.Level.WARN)
|
||||
@Message(id = 222040, value = "Server is stopped", format = Message.Format.MESSAGE_FORMAT)
|
||||
|
|
Loading…
Reference in New Issue