Closed
Description
The profiles specified when running AOT should be retained and used at runtime when starting the AOT processed application.
It's confusing that an application can be built with e.g. profile-a
, uses the beans in that profile, but doesn't log that profile on startup. Users can specify spring.profiles.active=profile-a
when running the AOT processed app, and then the log messages (and the configuration file loading for profile-a
) happens, but I think this should be done automatically.