Switch from STDOUT to logger.