[
https://issues.apache.org/jira/browse/LOG4J2-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16340187#comment-16340187
]
ASF subversion and git services commented on LOG4J2-2195:
---------------------------------------------------------
Commit 9ff63b2e50be754ae394feda2c33d9e64fd0ab3a in logging-log4j2's branch
refs/heads/master from [~garydgregory]
[ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=9ff63b2 ]
[LOG4J2-2195] Cannot define both `filters` and `separator` for
PatternLayout %xEx.
> Cannot define both `filters` and `separator` for PatternLayout %xEx
> -------------------------------------------------------------------
>
> Key: LOG4J2-2195
> URL: https://issues.apache.org/jira/browse/LOG4J2-2195
> Project: Log4j 2
> Issue Type: Bug
> Components: Pattern Converters
> Affects Versions: 2.10.0
> Reporter: Raman Gupta
> Assignee: Gary Gregory
> Priority: Minor
>
> Defining a pattern layout that contains:
> {{%xEx\{full,filters(${exceptionFilters}),separator(|)}}}
> does not work – the filters are applied but the separator is not.
> Only if the filters are removed does the separator apply to the layout.
> Reproduction recipe, including config file and test program here:
> https://gist.github.com/rocketraman/9a92ce76ee79bf6a15ab9b3a5ec95e08
> Above you can see that the exception separator was not applied -- the default
> newlines are present in the output instead.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)