Add logging using log4j