Added logging with log4j, logs are stored in target/logs