Add log file redirection for tdd.setup and tdd.teardown.