Change System.out.println() to logger.info()