Replaced system.outs with  Log4J2 logging