Merged changes from the DAGFrameScheduler fixing logging bug.