Resetting thread log file before thread start
Added thread ID for mapGeneration