Package com.alphacsp.cit.logging.log4j

Examples of com.alphacsp.cit.logging.log4j.MessageSensitiveLayout


    }

    public static void configure(File file) {
        LOG4J_LOGGER.removeAllAppenders();
        FileAppender fileappender = new FileAppender();
        fileappender.setLayout(new MessageSensitiveLayout());
        String absolutePath = file.getAbsolutePath();
        fileappender.setFile(absolutePath);
        fileappender.setImmediateFlush(true);
        fileappender.setName(APPENDER_NAME);
        fileappender.activateOptions();
View Full Code Here

TOP

Related Classes of com.alphacsp.cit.logging.log4j.MessageSensitiveLayout

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.