Details
Description
According to the documentation the patterns %xEx{short} or %xEx{<num>} should limit the number of lines of a stack trace that is logged. This doesn't work; instead, the complete stack trace is logged (always!). This is in contrary to the patterns %ex or %rEx where this works.
In commit 9ff63b2e50be754ae394feda2c33d9e64fd0ab3a (2018-01-25) a change was implemented because of LOG4J2-2195 (according to the commit message) that removed the option of limiting the number of lines to output.
Therefore all versions since 2.11.0 should be affected.
Attachments
Issue Links
- links to