[
https://issues.apache.org/jira/browse/LOG4J2-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266134#comment-17266134
]
ASF subversion and git services commented on LOG4J2-2993:
---------------------------------------------------------
Commit 78e70a7e4c2ccf4d5a7a96317488c6b2f6bf61c5 in logging-log4j2's branch
refs/heads/LOG4J2-2993 from Volkan Yazici
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=78e70a7 ]
LOG4J2-2993 Support stack trace truncation in JsonTemplateLayout.
> 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: Layouts
> Reporter: Ron Grabowski
> Assignee: Volkan Yazici
> Priority: Minor
>
> 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 ]
> , [ truncatedStringSuffix ]
> , [ truncationPointMatcherStrings ]
> , [ truncationPointMatcherRegexes ]
> )
> stringified = "stringified" -> boolean
> truncatedStringSuffix = "truncatedStringSuffix" -> string
> truncationPointMatcherStrings = "truncationPointMatcherStrings" -> string[]
> truncationPointMatcherRegexes = "truncationPointMatcherRegexes" -> string[]
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)