private static void processRemainingProperties()

in log4j-converter-config/src/main/java/org/apache/logging/converter/config/internal/v2/PropertiesV2ConfigurationParser.java [337:350]


    private static void processRemainingProperties(PropertiesSubset properties, ConfigurationNodeBuilder builder) {
        while (isNotEmpty(properties)) {
            String propertyName =
                    properties.getProperties().stringPropertyNames().iterator().next();
            int index = propertyName.indexOf('.');
            if (index > 0) {
                String localPrefix = propertyName.substring(0, index);
                PropertiesSubset componentProperties = extractSubset(properties, localPrefix);
                builder.addChild(processGenericComponent("component", componentProperties));
            } else {
                builder.addAttribute(propertyName, extractProperty(properties, propertyName));
            }
        }
    }