props.put("log4j.appender.file.layout", "org.apache.log4j.PatternLayout");
props.put("log4j.appender.file.layout.ConversionPattern",
"%d{dd.MM.yyyy HH:mm:ss} *%-5p* [%t] %c{1}: %m (%F, line %L) %n");
LogConfigurationInitializer initializer = new LogConfigurationInitializer(logger, confClass, props);
log.info("LOG4J Tests");
logOut(log);
initializer.setProperty("log4j.rootLogger", "INFO, stdout, file");
initializer.setProperty("log4j.appender.file.File", "target/l4j_debg.log");
logOut(log);
}