Re: Filtering packages from stacktrace in
Volkan Yazıcı <[email protected]>
| Newsgroups | gmane.comp.jakarta.log4j.user |
|---|---|
| Message-ID | <CAP7pH7tC3Z0+v1NNgV1F2b6E1BvdjyBnarevLuCt0uHeQPw-fQ@mail.gmail.com> |
It surely is since 2.14.1 release! See the documentation on exception resolver <https://logging.apache.org/log4j/2.x/manual/json-template-layout.html#event-template-resolver-exception>, in particular, truncation-related configuration knobs. On Sat, Aug 28, 2021 at 10:47 AM Atle Tokle <[email protected]> wrote: > When using PatternLayout you can use a filter to suppress stack frames form > stack trace. > > From doc:Use {filters(*packages*)} where *packages* is a list of package > names to suppress matching stack frames from stack traces > > Is the same possible for the JSON Template Layout? > > Best regards Atle >