round3 stringstream log repalce with stringstream logMsg