static

in src/main/java/org/apache/commons/logging/impl/SimpleLog.java [139:156]


    static {
        // Add props from the resource simplelog.properties
        try (InputStream in = getResourceAsStream("simplelog.properties")) {
            if (null != in) {
                simpleLogProps.load(in);
            }
        } catch (final IOException ignore) {
            // Ignore
        }
        showLogName = getBooleanProperty(systemPrefix + "showlogname", showLogName);
        showShortName = getBooleanProperty(systemPrefix + "showShortLogname", showShortName);
        showDateTime = getBooleanProperty(systemPrefix + "showdatetime", showDateTime);
        if (showDateTime) {
            SimpleDateFormat simpleDateFormatter = getSimpleDateFormat();
            dateFormatter = simpleDateFormatter;
            dateTimeFormat = simpleDateFormatter.toPattern();
        }
    }