question: @ PostConstruct public void initApplication ( ) throws IOException { if ( env . getActiveProfiles ( ) . length == 0 ) { log . warn ( "No Spring profile configured, running with default configuration" ) ; } else { log . info ( "Running with Spring profile(s) : {}" , Arrays . toString ( env . getActiveProfiles ( ) ) ) ; } }
target:  Initializes csrs. <p/> Spring profiles can be configured with a program arguments --spring.profiles.active=your-active-profile <p/>