Description
Within the AMQP AckManager, the following log message, currently at DEBUG level, should be increased to WARN level:
logger.debug("Retried {} {} times, giving up on the entry now", retry, retry.getPageAttempts());
Setting this log to WARN level would allow operators to be aware of two things:
- The AckManager may require configuration tuning of queue/page attempts. This can easily occur with the default configuration when handling large messages.
- Missed message replication, which is crucial when replication is required, allowing operators to investigate the source of the problem.
The downside is that this change may trigger a large number of logs when enabled on Artemis nodes containing messages created before the mirroring configuration activation.
This might not be desirable for everyone, so it could be beneficial to have it enabled as an optional parameter, configurable via a system environment variable, similar to the fine-tuning options available for AckManager.
Ideally, the log should as well contain the queue name, which would allow to track down the source of messages.
Attachments
Issue Links
- is part of
-
ARTEMIS-5010 AckManager records from mirror are not being replicated
- Closed
- links to