private Map<String, Logger> getActiveLoggersInFactory() {
        val factory = (Log4jLoggerFactory) getCasLoggerFactoryInstance();
        if (factory != null) {
            return factory.getLoggersInContext(this.loggerContext);
        }
        return new HashMap<>();
    }
Gets log entries.

@param count the count
@param level the level
@return the log entries
core/cas-server-core-logging/src/main/java/org/apereo/cas/logging/web/LoggingConfigurationEndpoint.java