Added log4j2 dependency and configuration.