[
https://issues.apache.org/jira/browse/LOG4J2-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17271684#comment-17271684
]
ASF subversion and git services commented on LOG4J2-2993:
---------------------------------------------------------
Commit 2846aae65f9952fc2296252474b23560ea199a53 in logging-log4j2's branch
refs/heads/master from Volkan Yazıcı
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=2846aae ]
LOG4J2-2993 Support stack trace truncation in JsonTemplateLayout. (#458)
> Provide truncation point for stringified stack traces in JsonTemplateLayout
> ---------------------------------------------------------------------------
>
> Key: LOG4J2-2993
> URL: https://issues.apache.org/jira/browse/LOG4J2-2993
> Project: Log4j 2
> Issue Type: Improvement
> Components: JsonTemplateLayout
> Reporter: Ron Grabowski
> Assignee: Volkan Yazici
> Priority: Minor
> Fix For: 2.14.1
>
>
> This story aims to improve stack trace resolving in JsonTemplateLayout from
> {noformat}
> config = field , [ stringified ]
> field = "field" -> (
> "className"
> | "message"
> | "stackTrace"
> )
> stringified = "stringified" -> boolean
> {noformat}
> to
> {noformat}
> config = field , [ stringified ] , [ stackTrace ]
> field = "field" -> ( "className" | "message" | "stackTrace" )
> stackTrace = "stackTrace" -> stringified
> stringified = "stringified" -> ( boolean | truncation )
> truncation = "truncation" -> (
> [ suffix ]
> , [ pointMatcherStrings ]
> , [ pointMatcherRegexes ]
> )
> suffix = "suffix" -> string
> pointMatcherStrings = "pointMatcherStrings" -> string[]
> pointMatcherRegexes = "pointMatcherRegexes" -> string[]
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)