Remove some unecessary debug statements that were appearing in profiling as a major source of overhead.
Merge pull request #10294 from kevingranade/trim-logging

Remove some unecessary debug statements