Added log4j appender for only INFO messages. Refactored code (sonar
100%).