Added logging information using Log4j