A context refresh is actually only trying to recalculate environment properties. Spring Boot doesn't provide an explicit API for that so we create a "mini application" to mimic the startup. There is no need for the logging system to be touched at all, so we can try and filter out the listeners we know might do that. Fixes gh-260
Spring Cloud Context
Utilities and special services for the ApplicationContext of a Spring Cloud application (bootstrap context, encryption, refresh scope and environment endpoints).