replaced system.outs with logger.infos