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

Include separator option of PatternLayout in manual (and other updates)

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.2
    • 2.9.0
    • Layouts
    • None

    Description

      Url: https://logging.apache.org/log4j/2.x/manual/layouts.html

      In Layouts >> PatternLayout >> Patterns section:

      xEx|xException|xThrowable
        {
          ["none"|"short"|"full"|depth]
          [,filters(package,package,...)]
        }
        {ansi(
          Key=Value,Value,...
          Key=Value,Value,...
          ...)
        }
        {suffix(pattern)}
      

      There is nothing about separator option, which is supported. Please mention about this option.

      Related methods:

      • org.apache.logging.log4j.core.impl.ThrowableFormatOptions.newInstance(String[])
      • org.apache.logging.log4j.core.pattern.ThrowablePatternConverter.formatOption(Throwable, String, StringBuilder)

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            sazzad M Sazzadul Hoque
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: