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

Option to exclude stack trace from some layouts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.2
    • 2.7
    • Layouts
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: