did correct closing log file