toolSetupLog4j(defaultLevel, null, false);
p.put("log4j.appender.A1", "org.apache.log4j.ConsoleAppender");
    public static void toolSetupLog4j(String defaultLevel, String propsFile) {           if (propsFile != null && new File(propsFile).exists()) {        	PropertyConfigurator.configure(propsFile);        } else {            toolSetupLog4j(defaultLevel, null, false);        }    }