Problem solved by adding EmEditor to avast! file system shield exclusion, or changing file association of .log file back to Notepad. Thanks.