Bug/5975 fix transaction log order

Is this change suppose to affect the parameter that was passed to `new_syncer_thread` above?