Re: LOG4J2-2993 Support stack trace truncation in JsonTemplateLayout

2021-01-18 Thread Volkan Yazıcı
Is anybody else willing to take this a look or shall I just merge it? On Fri, Jan 15, 2021 at 4:59 PM Volkan Yazıcı wrote: > Hello, > > I have cloned Ron's LOG4J2-2986 > (truncation of stack > traces after a matching point) for JSON template la

Re: LOG4J2-2993 Support stack trace truncation in JsonTemplateLayout

2021-01-18 Thread Volkan Yazıcı
Thanks for reviewing the PR, Ron. Indeed that is a typo, I have fixed it. I will merge the branch. Regarding your work on PatternLayout, I will check it momentarily and share my feedback there. About the syntax compliance between multiple layouts... I don't think it is necessary. For one, JsonTem

Re: LOG4J2-2993 Support stack trace truncation in JsonTemplateLayout

2021-01-17 Thread Ron Grabowski
Yes, this is the intent of LOG4J2-2986: "stackTrace": {   "stringified": true,  "truncatedStringSuffix": ">",  "truncationPointStrings": ["at javax.servlet.http.HttpServlet.service"]} That snippet from the PR doesn't seem to match your documentation grammar "truncationPointStrings" vs "truncatio

LOG4J2-2993 Support stack trace truncation in JsonTemplateLayout

2021-01-15 Thread Volkan Yazıcı
Hello, I have cloned Ron's LOG4J2-2986 (truncation of stack traces after a matching point) for JSON template layout in LOG4J2-2993 and created a PR