結果 : write shell script output to log file