Add logging performance [ci skip]
Merge pull request #11534 from gaurish/log

Add logging performance [ci skip]