Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1512

Option to exclude stack trace from some layouts

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 2.7
    • Component/s: Layouts
    • Labels:
      None

      Description

      GelfLayout have an option includeStacktrace to make it possible to exclude the stacktrace. This is useful since the stacktrace can be very large.

      This could be useful for other layouts as well: JsonLayout, XmlLayout, YamlLayout. Maybe CsvLogEventLayout and HtmlLayout?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mikaelstaldal Mikael Ståldal
                Reporter:
                mikaelstaldal Mikael Ståldal
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: