Package org.apache.logging.log4j

Examples of org.apache.logging.log4j.Logger.warn()


        exceed += new String(padding);
        log.warn(exceed);
        assertFalse("exceeded size but afterRollover-1.log not created yet", after1.exists());

        final String trigger = "This message triggers rollover.";
        log.warn(trigger);

        ((LifeCycle) LogManager.getContext()).stop(); // stop async thread

        assertTrue("afterRollover-1.log created", after1.exists());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.