Uploaded image for project: 'JBoss Log Manager'
  1. JBoss Log Manager
  2. LOGMGR-239

Allow the DelayedHandler to perform a level check on each message

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Alpha1
    • None
    • core
    • None

      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.

            dlloyd@redhat.com David Lloyd
            dlloyd@redhat.com David Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: