quarkus.application.name is not taken into account in stop message

Created on 10 Oct 2019  路  2Comments  路  Source: quarkusio/quarkus

If I add this to my application.properties:

quarkus.application.name=MyApp

Startup message is OK:

2019-10-10 14:39:15,327 INFO  [io.quarkus] (main) MyApp 1.0-SNAPSHOT (running on Quarkus 999-SNAPSHOT) started in 0.612s. Listening on: http://0.0.0.0:8080
2019-10-10 14:39:15,333 INFO  [io.quarkus] (main) Profile prod activated. 
2019-10-10 14:39:15,334 INFO  [io.quarkus] (main) Installed features: [agroal, cdi, narayana-jta, resteasy, security, security-jdbc]

But not the shutdown message:

^C2019-10-10 14:39:17,713 INFO  [io.quarkus] (main) Quarkus stopped in 0.029s

We should fix the shutdown message to be consistent.

Also we need to find a place to document this feature properly. But I couldn't find an obvious place.

Initial PR with the startup name: https://github.com/quarkusio/quarkus/pull/4302

good first issue kinbug

All 2 comments

@machi1990 maybe you could have a look?

I took a stab at it and created https://github.com/quarkusio/quarkus/pull/4501

Was this page helpful?
0 / 5 - 0 ratings