change to logger.log(), move to avoid tripling output