Add a new helper script requeue_by_log