Only add a log handler if there aren't any
Update the processing table for each obsid in turn

(Instead of waiting until the end and doing them all at once.  That
turned out to be problematic in the case where processing times out as
a task_schedule task)