Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-216

Supply an appender that collects N events on all levels and dumps them to the output when an ERROR is logged

    XMLWordPrintable

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • logback-core
    • None

    Description

      For many applications, it's not necessary to log at the levels DEBUG and TRACE all the time. In fact, we usually only do this to be able to debug ERROR events.

      It would be great if there was an appender that would only collect a configurable number of events internally until a message of level ERROR or above is logged. At this time, the appender should dump it's internal state to the log and reset the internal state.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            digulla Aaron Digulla
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: