Fix arguments to logger.