You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/15 16:20:00 UTC
[jira] [Commented] (LOG4J2-3044) Add RepeatPatternConverter
[ https://issues.apache.org/jira/browse/LOG4J2-3044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17301743#comment-17301743 ]
ASF subversion and git services commented on LOG4J2-3044:
---------------------------------------------------------
Commit 32369ad3517ebe9cd1767a50054b337fd8c14cbf in logging-log4j2's branch refs/heads/release-2.x from Ralph Goers
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=32369ad ]
LOG4J2-3044 - Add RepeatPatternConverter
> Add RepeatPatternConverter
> --------------------------
>
> Key: LOG4J2-3044
> URL: https://issues.apache.org/jira/browse/LOG4J2-3044
> Project: Log4j 2
> Issue Type: New Feature
> Components: Pattern Converters
> Affects Versions: 2.14.1
> Reporter: Ralph Goers
> Assignee: Ralph Goers
> Priority: Major
> Fix For: 2.15.0
>
>
> It is frequently desirable to add strings of repeating characters to a logging event to highlight it when viewing the log. To do this currently you have to manually type in the characters into the pattern which can make the pattern fairly long. This will add a pattern converter that can be specified as R\{#}{10}, which is considerably easier for the user than having to include ########## especially if it appears twice in the message.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)