简体   繁体   中英

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.

作为库中此问题的一部分在 quarkus 上修复: https : //github.com/quarkusio/quarkus/issues/20660

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM