@Override
    public ApplicationEntrypointInitializer initialize(final String[] mainArguments) {
        val args = Arrays.stream(mainArguments)
            .filter(arg -> arg.startsWith("--logging.level"))
            .map(arg -> StringUtils.replace(arg, "=", " "))
            .toArray(String[]::new);
        MainMapLookup.setMainArguments(args);
        return this;
    }
This is {@link Log4jInitialization}.

@author Misagh Moayyed
@since 6.4.0
core/cas-server-core-logging-api/src/main/java/org/apereo/cas/logging/Log4jInitialization.java