Package org.apache.logging.log4j.status

Examples of org.apache.logging.log4j.status.StatusLogger


    @BeforeClass
    public static void beforeClass() {
        System.setProperty(ConfigurationFactory.CONFIGURATION_FILE_PROPERTY, CONFIG);
        LoggerContext ctx = (LoggerContext) LogManager.getContext();
        ctx.reconfigure();
        StatusLogger logger = StatusLogger.getLogger();
        logger.setLevel(Level.FATAL);
    }
View Full Code Here


    @BeforeClass
    public static void beforeClass() {
        System.setProperty(ConfigurationFactory.CONFIGURATION_FILE_PROPERTY, CONFIG);
        LoggerContext ctx = (LoggerContext) LogManager.getContext();
        ctx.reconfigure();
        StatusLogger logger = StatusLogger.getLogger();
        logger.setLevel(Level.FATAL);
    }
View Full Code Here

TOP

Related Classes of org.apache.logging.log4j.status.StatusLogger

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.