Added the log4j for logging the message