private void logContainerInfo() {

		final String containerIp;
		final String containerHostname;

		if (this.containerAttributes != null) {
			containerIp = containerAttributes.getIp();
			containerHostname = containerAttributes.getHost();
		}
		else {
			containerIp = "N/A";
			containerHostname = "N/A";
		}

		logger.info("Container IP address: " + containerIp);
		logger.info("Container hostname:   " + containerHostname);
	}
Logger config info upon admin or container server context refresh.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/util/XdConfigLoggingInitializer.java