When writing Log4j2 plugins there's currently no easy way to access the Spring Environment. We can change our initialization logic to include it in the LoggerContext so that plugins can later access it.