ppkarwasz opened a new pull request, #3920:
URL: https://github.com/apache/logging-log4j2/pull/3920

   `PatternParser` was not detecting when a throwable was already rendered 
inside a *nested* converter (e.g. `%style{%ex}{red}`). Because 
`handlesThrowable` was missing for those wrappers, the parser assumed no 
throwable was present and incorrectly auto-appended another `%ex`, causing the 
exception to be logged twice.
   
   This change implements `handlesThrowable` for the relevant nested converters 
so that `alwaysWriteExceptions` correctly recognizes them and no duplicate 
stack traces are produced.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to