Package org.apache.logging.log4j.util

Examples of org.apache.logging.log4j.util.PropsUtil


    private final Queue<StatusData> messages = new BoundedQueue<StatusData>(MAX_ENTRIES);
    private final ReentrantLock msgLock = new ReentrantLock();

    private StatusLogger() {
        PropsUtil props = new PropsUtil("log4j2.StatusLogger.properties");
        this.logger = new SimpleLogger("StatusLogger", Level.ERROR, false, true, false, false, "", props, System.err);
    }
View Full Code Here


    private final Level defaultLevel;

    private final PrintStream stream;

    public SimpleLoggerContext() {
        props = new PropsUtil("log4j2.simplelog.properties");

        showContextMap = props.getBooleanProperty(SYSTEM_PREFIX + "showContextMap", false);
        showLogName = props.getBooleanProperty(SYSTEM_PREFIX + "showlogname", false);
        showShortName = props.getBooleanProperty(SYSTEM_PREFIX + "showShortLogname", true);
        showDateTime = props.getBooleanProperty(SYSTEM_PREFIX + "showdatetime", false);
View Full Code Here

TOP

Related Classes of org.apache.logging.log4j.util.PropsUtil

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.