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

add stacktraceSuffixPattern

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.4
    • Component/s: None
    • Labels:
      None

      Description

      Syslogappender sends stacktrace lines separately to syslog.
      Currently the suffixPattern is not applied to these stackTrace lines, and the user has no way of controlling the format of these lines.

      I Implemented an optional stacktraceSuffixPattern parameter to SyslogAppender that allows the user to control the format of stacktrace lines too. If this parameter is not set, it defaults to the default formatting, which is the old hardcoded formatting (i.e. TAB <the stacktrace line>).

      https://github.com/qos-ch/logback/pull/46

        Attachments

          Activity

            People

            Assignee:
            logback-dev Logback dev list
            Reporter:
            ingebrigt Ingebrigt Berg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: