javaloggingquarkusjboss-logging

Async logging is not reporting crashes


I have a Quarkus application and enabled asynchronous logging:

quarkus.log.async=true   

However, if there is a crash on startup which kills the process, the log is not output. This is quite an issue as the worse the problem the more likely I have no information to go on. Is there a way to somehow preserve the logs better? If I turn off async, the error is actually printed.


Solution

  • Fixed on quarkus as part of this issue in the library: https://github.com/quarkusio/quarkus/issues/20660