changed log file to txt and to utf-8 format