output the logfile if a test fails