added target_id dic id where the last log will be appended.