Redirect test log to a file