-
Hello everyone, I was wondering if there is a way to modify what is printed in the console on application startup? Specifically what is printed after the application has started: Or, alternatively, is there a listener that observes when the application has fully started? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
https://quarkus.io/guides/lifecycle#listening-for-startup-and-shutdown-events |
Beta Was this translation helpful? Give feedback.
-
AFAIK you can't modify the log message but you can customize the ASCII art banner - https://quarkus.io/guides/getting-started#banner.
As Phillip pointed out - you can define a CDI observer of the In Quarkus 3.14+, you can also execute some logic when the HTTP server is started: https://quarkus.io/guides/http-reference#how-to-execute-logic-when-http-server-started. |
Beta Was this translation helpful? Give feedback.
This message is logged right after all
RUNTIME_INIT
recorder methods are executed. And in most apps, theStartupEvent
is fired shortly before this message; the HTTP server is usually started in between.