[ 
https://issues.apache.org/jira/browse/LOG4J2-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Volkan Yazici updated LOG4J2-2993:
----------------------------------
    Description: 
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}

  was:
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 ]
field                  = "field" -> (
                           "className"
                         | "message"
                         | "stackTrace"
                         )
stackTrace             = "stackTrace" -> (
                           [ stringified ]
                         , [ truncatedStringSuffix ]
                         , [ truncationPointStrings ]
                         , [ truncationPointRegexes ]
                         )
stringified            = "stringified" -> boolean
truncatedStringSuffix  = "truncatedStringSuffix" -> string
truncationPointStrings = "truncationPointStrings" -> string[]
truncationPointRegexes = "truncationPointRegexes" -> string[]
{noformat}


> 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)

Reply via email to