Changed the logging to log4j2