adding slf4j dependency, and also changes log4j.properties