Updated logging to use log4j2