logProps.setProperty("log4j.rootLogger", "INFO, rootAppender");
if (pDebug) logProps.setProperty("log4j.rootLogger", "DEBUG, rootAppender"); else logProps.setProperty("log4j.rootLogger", "INFO, rootAppender");
    public static void initializeLog(){        Properties logProps = new Properties();        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);    }