Added log4j logging