Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.11.2
-
None
-
None
Description
The extended stack trace value in jsonlayout can be extremely long, especially if stackTraceAsString is false (the default). There should be a way to cap the size of the extended stack trace. Maybe something that is the Pattern equivalent of %ex{n}? Posted a real example in the comments (we run pretty standard spring boot applications). 20k characters is pretty excessive, and this interferes with our scalyr log uploads.
In fact, is there any way to make it significantly more configurable? Like removing the jar from the stacktrace and maybe shortening logger names?