Move logging out of mutex
Move logging out of mutex

Summary: As title

Test Plan: compiles

Reviewers: sdong

Reviewed By: sdong

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D24897

wlqGit/rocksdb,vmx/rocksdb,bbiao/rocksdb,geraldoandradee/rocksdb,lgscofield/rocksdb,Andymic/rocksdb,OverlordQ/rocksdb,alihalabyah/rocksdb,siddhartharay007/rocksdb,temicai/rocksdb,SunguckLee/RocksDB,flabby/rocksdb,biddyweb/rocksdb,norton/rocksdb,zhangpng/rocksdb,JoeWoo/rocksdb,siddhartharay007/rocksdb,tsheasha/rocksdb,JohnPJenkins/rocksdb,luckywhu/rocksdb,ylong/rocksdb,Vaisman/rocksdb,JohnPJenkins/rocksdb,biddyweb/rocksdb,fengshao0907/rocksdb,ylong/rocksdb,facebook/rocksdb,rDSN-Projects/rocksdb.replicated,NickCis/rocksdb,RyanTech/rocksdb,facebook/rocksdb,alihalabyah/rocksdb,amyvmiwei/rocksdb,IMCG/RcoksDB,NickCis/rocksdb,hobinyoon/rocksdb,RyanTech/rocksdb,wat-ze-hex/rocksdb,sorphi/rocksdb,JackLian/rocksdb,caijieming-baidu/rocksdb,Vaisman/rocksdb,OverlordQ/rocksdb,sorphi/rocksdb,vmx/rocksdb,dkorolev/rocksdb,lgscofield/rocksdb,tsheasha/rocksdb,wat-ze-hex/rocksdb,siddhartharay007/rocksdb,norton/rocksdb,caijieming-baidu/rocksdb,hobinyoon/rocksdb,ryneli/rocksdb,wskplho/rocksdb,hobinyoon/rocksdb,Applied-Duality/rocksdb,wlqGit/rocksdb,kaschaeffer/rocksdb,vashstorm/rocksdb,ryneli/rocksdb,zhangpng/rocksdb,JohnPJenkins/rocksdb,hobinyoon/rocksdb,norton/rocksdb,anagav/rocksdb,facebook/rocksdb,JackLian/rocksdb,ryneli/rocksdb,siddhartharay007/rocksdb,makelivedotnet/rocksdb,caijieming-baidu/rocksdb,jalexanderqed/rocksdb,skunkwerks/rocksdb,mbarbon/rocksdb,Applied-Duality/rocksdb,fengshao0907/rocksdb,skunkwerks/rocksdb,IMCG/RcoksDB,geraldoandradee/rocksdb,wskplho/rocksdb,geraldoandradee/rocksdb,JoeWoo/rocksdb,bbiao/rocksdb,RyanTech/rocksdb,wenduo/rocksdb,rDSN-Projects/rocksdb.replicated,Applied-Duality/rocksdb,sorphi/rocksdb,zhangpng/rocksdb,makelivedotnet/rocksdb,kaschaeffer/rocksdb,hobinyoon/rocksdb,tsheasha/rocksdb,facebook/rocksdb,wlqGit/rocksdb,sorphi/rocksdb,SunguckLee/RocksDB,ryneli/rocksdb,flabby/rocksdb,JoeWoo/rocksdb,JoeWoo/rocksdb,ylong/rocksdb,makelivedotnet/rocksdb,virtdb/rocksdb,RyanTech/rocksdb,virtdb/rocksdb,tsheasha/rocksdb,Vaisman/rocksdb,virtdb/rocksdb,mbarbon/rocksdb,tizzybec/rocksdb,siddhartharay007/rocksdb,rDSN-Projects/rocksdb.replicated,facebook/rocksdb,wat-ze-hex/rocksdb,fengshao0907/rocksdb,Andymic/rocksdb,wat-ze-hex/rocksdb,OverlordQ/rocksdb,flabby/rocksdb,JohnPJenkins/rocksdb,kaschaeffer/rocksdb,OverlordQ/rocksdb,geraldoandradee/rocksdb,zhangpng/rocksdb,sorphi/rocksdb,luckywhu/rocksdb,skunkwerks/rocksdb,JohnPJenkins/rocksdb,mbarbon/rocksdb,vmx/rocksdb,anagav/rocksdb,wenduo/rocksdb,anagav/rocksdb,Vaisman/rocksdb,lgscofield/rocksdb,dkorolev/rocksdb,rDSN-Projects/rocksdb.replicated,dkorolev/rocksdb,temicai/rocksdb,skunkwerks/rocksdb,fengshao0907/rocksdb,jalexanderqed/rocksdb,dkorolev/rocksdb,wlqGit/rocksdb,vmx/rocksdb,vashstorm/rocksdb,sorphi/rocksdb,OverlordQ/rocksdb,tsheasha/rocksdb,ryneli/rocksdb,amyvmiwei/rocksdb,IMCG/RcoksDB,vashstorm/rocksdb,flabby/rocksdb,kaschaeffer/rocksdb,JackLian/rocksdb,Vaisman/rocksdb,kaschaeffer/rocksdb,JohnPJenkins/rocksdb,alihalabyah/rocksdb,biddyweb/rocksdb,wlqGit/rocksdb,ryneli/rocksdb,wat-ze-hex/rocksdb,wskplho/rocksdb,luckywhu/rocksdb,norton/rocksdb,NickCis/rocksdb,ylong/rocksdb,norton/rocksdb,NickCis/rocksdb,bbiao/rocksdb,tsheasha/rocksdb,SunguckLee/RocksDB,siddhartharay007/rocksdb,anagav/rocksdb,wat-ze-hex/rocksdb,temicai/rocksdb,geraldoandradee/rocksdb,caijieming-baidu/rocksdb,lgscofield/rocksdb,Andymic/rocksdb,wlqGit/rocksdb,bbiao/rocksdb,alihalabyah/rocksdb,jalexanderqed/rocksdb,IMCG/RcoksDB,SunguckLee/RocksDB,siddhartharay007/rocksdb,anagav/rocksdb,JoeWoo/rocksdb,alihalabyah/rocksdb,tizzybec/rocksdb,wenduo/rocksdb,rDSN-Projects/rocksdb.replicated,lgscofield/rocksdb,Applied-Duality/rocksdb,RyanTech/rocksdb,amyvmiwei/rocksdb,tizzybec/rocksdb,flabby/rocksdb,ylong/rocksdb,bbiao/rocksdb,amyvmiwei/rocksdb,biddyweb/rocksdb,ylong/rocksdb,wenduo/rocksdb,wenduo/rocksdb,SunguckLee/RocksDB,rDSN-Projects/rocksdb.replicated,flabby/rocksdb,geraldoandradee/rocksdb,luckywhu/rocksdb,geraldoandradee/rocksdb,wenduo/rocksdb,zhangpng/rocksdb,amyvmiwei/rocksdb,bbiao/rocksdb,NickCis/rocksdb,IMCG/RcoksDB,skunkwerks/rocksdb,wskplho/rocksdb,Andymic/rocksdb,ryneli/rocksdb,virtdb/rocksdb,temicai/rocksdb,biddyweb/rocksdb,dkorolev/rocksdb,OverlordQ/rocksdb,temicai/rocksdb,biddyweb/rocksdb,caijieming-baidu/rocksdb,lgscofield/rocksdb,OverlordQ/rocksdb,zhangpng/rocksdb,Andymic/rocksdb,facebook/rocksdb,mbarbon/rocksdb,vashstorm/rocksdb,kaschaeffer/rocksdb,vashstorm/rocksdb,temicai/rocksdb,hobinyoon/rocksdb,NickCis/rocksdb,kaschaeffer/rocksdb,tizzybec/rocksdb,Applied-Duality/rocksdb,NickCis/rocksdb,JoeWoo/rocksdb,vmx/rocksdb,norton/rocksdb,makelivedotnet/rocksdb,tizzybec/rocksdb,amyvmiwei/rocksdb,norton/rocksdb,IMCG/RcoksDB,zhangpng/rocksdb,lgscofield/rocksdb,virtdb/rocksdb,anagav/rocksdb,tizzybec/rocksdb,JackLian/rocksdb,hobinyoon/rocksdb,mbarbon/rocksdb,Vaisman/rocksdb,JackLian/rocksdb,JohnPJenkins/rocksdb,wskplho/rocksdb,sorphi/rocksdb,Applied-Duality/rocksdb,JackLian/rocksdb,SunguckLee/RocksDB,SunguckLee/RocksDB,vashstorm/rocksdb,wat-ze-hex/rocksdb,fengshao0907/rocksdb,amyvmiwei/rocksdb,hobinyoon/rocksdb,mbarbon/rocksdb,virtdb/rocksdb,biddyweb/rocksdb,dkorolev/rocksdb,vmx/rocksdb,rDSN-Projects/rocksdb.replicated,RyanTech/rocksdb,dkorolev/rocksdb,alihalabyah/rocksdb,vmx/rocksdb,fengshao0907/rocksdb,bbiao/rocksdb,RyanTech/rocksdb,anagav/rocksdb,ylong/rocksdb,wenduo/rocksdb,JoeWoo/rocksdb,skunkwerks/rocksdb,luckywhu/rocksdb,bbiao/rocksdb,makelivedotnet/rocksdb,wat-ze-hex/rocksdb,SunguckLee/RocksDB,jalexanderqed/rocksdb,jalexanderqed/rocksdb,wlqGit/rocksdb,Applied-Duality/rocksdb,wskplho/rocksdb,luckywhu/rocksdb,facebook/rocksdb,vashstorm/rocksdb,IMCG/RcoksDB,jalexanderqed/rocksdb,virtdb/rocksdb,skunkwerks/rocksdb,fengshao0907/rocksdb,Vaisman/rocksdb,tsheasha/rocksdb,Andymic/rocksdb,makelivedotnet/rocksdb,caijieming-baidu/rocksdb,wenduo/rocksdb,JackLian/rocksdb,makelivedotnet/rocksdb,Andymic/rocksdb,Andymic/rocksdb,tizzybec/rocksdb,alihalabyah/rocksdb,mbarbon/rocksdb,vmx/rocksdb,flabby/rocksdb,tsheasha/rocksdb,facebook/rocksdb,norton/rocksdb,caijieming-baidu/rocksdb,temicai/rocksdb,wskplho/rocksdb,luckywhu/rocksdb,jalexanderqed/rocksdb