save the logfile in the results directory