David Lloyd created LOGMGR-239:
----------------------------------
Summary: Allow the DelayedHandler to perform a level check on each message
Key: LOGMGR-239
URL:
https://issues.jboss.org/browse/LOGMGR-239
Project: JBoss Log Manager
Issue Type: Enhancement
Components: core
Reporter: David Lloyd
Assignee: David Lloyd
Fix For: 3.0.0.Final
When the delayed handler is replaying log messages, it will play them as if the log levels
of the various categories were configured to accept them all. There should be a way to
get the logger of each record and check if the record is still loggable before printing
it.
Since handlers don't have access to the log manager or log context, {{DelayedHandler}}
needs an optional {{LogContext}} parameter which, if present, can be queried for log
levels.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)