Replace System.out.println() with logger.info()