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

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

    Details

    • Type: Documentation
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.2
    • Fix Version/s: 2.9.0
    • Component/s: Layouts
    • Labels:
      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

            • Assignee:
              garydgregory Gary Gregory
              Reporter:
              sazzad M Sazzadul Hoque
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: