private void processGlobalConfig()

in src/main/java/org/apache/sling/commons/log/logback/internal/LogConfigManager.java [706:737]


    private void processGlobalConfig(@NotNull Dictionary<String, String> configuration) {
        String fileName = converter
                .convert(configuration.get(LogConstants.LOGBACK_FILE))
                .defaultValue("")
                .to(String.class);
        if (!fileName.isEmpty()) {
            // attempt to load the configuration from the logback xml file
            File file = new File(getAbsoluteFilePath(fileName));
            if (isLogbackFileValid(file)) {
                this.logbackConfigFile = file;
            }
        }

        // Process packaging data
        this.packagingDataEnabled = converter
                .convert(configuration.get(LogConstants.LOG_PACKAGING_DATA))
                .defaultValue(false) // Defaults to false i.e. disabled in OSGi env
                .to(Boolean.TYPE);

        maxCallerDataDepth = converter
                .convert(configuration.get(LogConstants.LOG_MAX_CALLER_DEPTH))
                .defaultValue(ClassicConstants.DEFAULT_MAX_CALLEDER_DATA_DEPTH)
                .to(Integer.TYPE);
        maxOldFileCount = converter
                .convert(configuration.get(LogConstants.PRINTER_MAX_INCLUDED_FILES))
                .defaultValue(LogConstants.PRINTER_MAX_INCLUDED_FILES_DEFAULT)
                .to(Integer.TYPE);
        numOfLines = converter
                .convert(configuration.get(LogConstants.PRINTER_NUM_OF_LINES))
                .defaultValue(LogConstants.PRINTER_NUM_OF_LINES_DEFAULT)
                .to(Integer.TYPE);
    }