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

Logback SMTP appender cannot squash identical logs into one mail

    XMLWordPrintable

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.0.13
    • logback-classic
    • None

    Description

      Currently default Logback SMTP appender sends one email per one log. But we need to squash consecutive logs into one email if they have the same message and/or stacktrace.

      For example, there can be a property to define time in seconds to wait for the next same consecutive log event, and if time threshold is reached (or if log event with different message / stacktrace appeared in sequence), email should be created and delivered.

      I did not yet started my own appender implementation which supports that feature, but I can do this and help with contribution if admins agree and somebody else in community needs this feature.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            dyaroslavtsev Daniil Yaroslavtsev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: