Log format not applied with logback to java.lang.IllegalStateException: A non-container (application) thread attempted to use the AsyncContext...
log
#34188
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: superseded
An issue that has been superseded by another
We have seen a certain log which is not formatted according to our logback appender, which formats our logs in json in our application. All of the other logs are formatted in json, except this one.
We think this problem started happening after this fix: #33421. This comment also explains after the fix we started getting this log: #33421 (comment).
Reproduced with Spring Boot 3.3.4 and logstash-logback-encoder 8.0 version.
Steps to reproduce:
See the minimalist example attached, with the following steps to reproduce:
Example of not correctly formatted log
demowronglogformat.zip
The text was updated successfully, but these errors were encountered: