change log file path to output dir