public static void initializeLog(){ initializeLog(false);
public static void initializeLog(boolean pDebug){ Properties logProps = new Properties(); if (pDebug) logProps.setProperty("log4j.rootLogger", "DEBUG, rootAppender"); else logProps.setProperty("log4j.rootLogger", "INFO, rootAppender"); logProps.setProperty("log4j.appender.rootAppender", "org.apache.log4j.ConsoleAppender"); logProps.setProperty("log4j.appender.rootAppender.layout", "org.apache.log4j.PatternLayout"); logProps.setProperty( "log4j.appender.rootAppender.layout.ConversionPattern", "%5p [%c] - %m%n"); PropertyConfigurator.configure(logProps);
    public static void initializeLog(){        initializeLog(false);    }