updated with log4j