You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Piotr Karwasz (Jira)" <ji...@apache.org> on 2025/01/13 16:34:00 UTC
[jira] [Commented] (LOG4J2-3696) Package filter with %ex/throwable conversion pattern
[ https://issues.apache.org/jira/browse/LOG4J2-3696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912600#comment-17912600 ]
Piotr Karwasz commented on LOG4J2-3696:
---------------------------------------
[~Saljack],
LOG4J2-3696 has not been closed by mistake: it was implemented in [apache/logging-log4j2#2691|https://github.com/apache/logging-log4j2/pull/2691] and it is scheduled to be released in version 2.25.0.
> Package filter with %ex/throwable conversion pattern
> ----------------------------------------------------
>
> Key: LOG4J2-3696
> URL: https://issues.apache.org/jira/browse/LOG4J2-3696
> Project: Log4j 2
> Issue Type: New Feature
> Components: Layouts
> Reporter: Tomáš Poledný
> Priority: Minor
>
> Because LOG4J2-2632 was closed as a mistake in the documentation. I would like to propose to add package filtering ({{filters}}) also for {{%ex|exception|throwable}}.
> For example:
> {noformat}
> %m%ex{filters(org.apache.tomcat.util,org.apache.catalina,org.apache.coyote)}%n
> {noformat}
> filter packages {{org.apache.tomcat.util,org.apache.catalina,org.apache.coyote}} in stacktrace in the same way as {{%rEx}} and {{%xEx}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)