code: protected void logStartupProfileInfo(ConfigurableApplicationContext context) {
  		Log log = getApplicationLog();
  		if (log.isInfoEnabled()) {
  			String[] activeProfiles = context.getEnvironment().getActiveProfiles();
  			if (ObjectUtils.isEmpty(activeProfiles)) {
  				String[] defaultProfiles = context.getEnvironment().getDefaultProfiles();
  				log.info("No active profile set, falling back to default profiles: "
  						+ StringUtils.arrayToCommaDelimitedString(defaultProfiles));
  			}
  			else {
  				log.info("The following profiles are active: "
  						+ StringUtils.arrayToCommaDelimitedString(activeProfiles));
  			}
  		}
  	}
docs: Called to log active profile information.
  @param context the application context