save log result to file