added logging with log4j2 and xml config file