snicoll commented on issue #3809: URL: https://github.com/apache/logging-log4j2/issues/3809#issuecomment-3051409462
> could you use composition instead? I am not sure we can use composition considering we're overriding `ThrowablePatternConverter#format`. Perhaps you can have a look to our [pattern converters](https://github.com/spring-projects/spring-boot/tree/main/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/log4j2)? * `WhitespaceThrowablePatternConverter` [overrides `format`](https://github.com/spring-projects/spring-boot/blob/31538f9f5b61bffffe0b07f6191b601f540b1578/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/log4j2/WhitespaceThrowablePatternConverter.java#L42) * `ExtendedWhitespaceThrowablePatternConverter` [overrides `format`](https://github.com/spring-projects/spring-boot/blob/31538f9f5b61bffffe0b07f6191b601f540b1578/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/log4j2/ExtendedWhitespaceThrowablePatternConverter.java#L47) -- 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]
