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)

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 7fdca4ff159a4923949b45c33fd4601926be5ffc in logging-log4j2's branch refs/heads/master from Gary Gregory
        [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=7fdca4f ]

        LOG4J2-1966 Include separator option of PatternLayout in manual (and
        other updates).

        Show
        jira-bot ASF subversion and git services added a comment - Commit 7fdca4ff159a4923949b45c33fd4601926be5ffc in logging-log4j2's branch refs/heads/master from Gary Gregory [ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=7fdca4f ] LOG4J2-1966 Include separator option of PatternLayout in manual (and other updates).
        Hide
        garydgregory Gary Gregory added a comment -

        Please verify and close.

        To verify, you can clone the repo and run "mvn site". The site builds early in the build (even if the build fails in a later module). You can inspect the site in target/site/index.html.

        Show
        garydgregory Gary Gregory added a comment - Please verify and close. To verify, you can clone the repo and run "mvn site". The site builds early in the build (even if the build fails in a later module). You can inspect the site in target/site/index.html .
        Hide
        sazzad M Sazzadul Hoque added a comment -

        I checked and it seems OK to me.

        Show
        sazzad M Sazzadul Hoque added a comment - I checked and it seems OK to me.
        Hide
        garydgregory Gary Gregory added a comment -

        Closing per user comment.

        Show
        garydgregory Gary Gregory added a comment - Closing per user comment.

          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:

              Development