Sometimes \n is not desired. I will remove all log related code anyway (as required by coding style).