結果 : how to create error log file in python