Remove puts or replace with logger.debug