private void initializeIfNecessary() {
        if (loggerContext == null) {
            val pair = buildLoggerContext();
            pair.ifPresent(it -> {
                this.logConfigurationFile = it.getKey();
                this.loggerContext = it.getValue();
            });
        }
    }
Init. Attempts to locate the logging configuration to insert listeners.
The log configuration location is pulled directly from the environment
given there is not an explicit property mapping for it provided by Boot, etc.
core/cas-server-core-logging/src/main/java/org/apereo/cas/logging/web/LoggingConfigurationEndpoint.java