Implemented basic log4j example