add logging with log4j