The loggingMiddleware function is adding lots of messages to the log
The loggingMiddleware function is adding lots of messages to the log

When tools like kubernetes and cockpit are talking to the docker daemon
actively, we are seeing large number of log messages that look like debug
information.

For example

docker info adds the following line to journald.

Nov 26 07:09:23 dhcp-10-19-62-196.boston.devel.redhat.com docker[32686]: time="2015-11-26T07:09:23.124503455-05:00" level=info msg="GET /v1.22/info"

We think this should be Debug level not Info level.

Signed-off-by: Dan Walsh <7800de746fd39599bc46177380ea6aede7e31e16@redhat.com>

HackToday/docker,dgageot/docker,dsau/docker,kencochrane/docker,kimh/docker,erikh/docker,ivansaracino/docker,naveed-jamil-tenpearls/moby,Test-Betta-Inc/psychic-barnacle,dnephin/docker,mariusGundersen/docker,thaJeztah/docker,coreos/docker,cpswan/docker,isubuz/docker,nawawi/docker,jwhonce/docker,alexisbellido/docker.github.io,mikebrow/docker,YujiOshima/docker,nalind/docker,hypriot/docker,yummypeng/docker,prertik/docker,paralin/docker,sean-jc/docker,rhatdan/storage,tagomoris/docker,jvanz/docker,rhatdan/storage,carolfh/docker,anujbahuguna/docker,hqhq/moby,contiv/docker,mssola/docker,csfrancis/docker,nigelpoulton/docker,moby/moby,dsheets/moby,michelvocks/docker,AkihiroSuda/docker,inatatsu/docker,luxas/docker,sfsmithcha/docker,aditirajagopal/docker,fangyuan930917/docker,sheimi/docker,hallyn/docker,geekylucas/docker,noironetworks/docker,moypray/docker,tkopczynski/docker,jzwlqx/denverdino.github.io,KingEmet/docker,pyotr777/docker,jasonamyers/docker,yasiramin10p/moby,icecrime/docker,rillig/docker.github.io,ColinHebert/docker,luxas/docker,imeoer/hypercli,tophj-ibm/docker,ajneu/docker,akira-baruah/docker,yp-engineering/docker,yosifkit/docker,menglingwei/denverdino.github.io,aduermael/docker.github.io,vdemeester/docker,dongjoon-hyun/docker,docker-zh/docker.github.io,cyli/docker,qudongfang/docker,icecrime/docker,noironetworks/docker,cmehay/docker-1,OnePaaS/docker,msabansal/docker,mkumatag/docker,ivansaracino/docker,bluebreezecf/docker,ncdc/docker,mohmost12/docker,fsoppelsa/docker,erikh/docker,thaJeztah/docker,13W/docker,shubheksha/docker.github.io,raja-sami-10p/moby,jameseggers/docker,maxamillion/docker,joeuo/docker.github.io,gao-feng/docker,estesp/docker,brahmaroutu/docker,Altiscale/docker,ndeloof/docker,shubheksha/docker.github.io,jameseggers/docker,gdevillele/docker.github.io,cyphar/docker,fcrisciani/docker,djs55/docker,docker/docker,prertik/docker,stevvooe/docker,xiaods/docker,willmtemple/docker,mssola/docker,gschaetz/moby,containers/storage,duglin/docker,nawawi/docker,whuwxl/docker,mgoelzer/docker,qzio/docker,konstruktoid/docker-1,flavio/docker,kyle-wang/docker,charleswhchan/docker,rkazak/docker,cpswan/docker,mauidev/docker,contiv/docker,xiaods/docker,POLJM242/docker,anujbahuguna/docker,davinashreddy/docker,ItsVeryWindy/docker,jhorwit2/docker,jzwlqx/denverdino.github.io,michelvocks/docker,thaJeztah/docker,endocode/docker,rhatdan/docker,hyperhq/hypercli,rancher/docker,justincormack/docker,aditirajagopal/docker,TheBigBear/docker,BSWANG/denverdino.github.io,hyperhq/hypercli,fangyuan930917/docker,moypray/docker,rhatdan/docker,docker/docker.github.io,tianon/docker,tagomoris/docker,kojiromike/docker,unclejack/docker,JeffBellegarde/docker,cyli/docker,tonistiigi/docker,cpuguy83/docker,bdwill/docker.github.io,ItsVeryWindy/docker,tianon/docker,menglingwei/denverdino.github.io,charleszheng44/moby,toli/docker,dperny/docker,moxiegirl/docker,13W/docker,thaJeztah/docker.github.io,isubuz/docker,tkopczynski/docker,endophage/docker,mike1729/docker,catinthesky/docker,bfirsh/docker,charleswhchan/docker,umerazad/docker,sfsmithcha/docker,hustcat/docker,menglingwei/denverdino.github.io,moul/docker,sanscontext/docker.github.io,akira-baruah/docker,kunalkushwaha/docker,ripcurld0/moby,13W/docker,BrianBland/docker,vijaykilari/docker,clintonskitson/docker,ZJU-SEL/docker,erikstmartin/docker,JMesser81/docker,estesp/docker,aidanhs/docker,erikstmartin/docker,pradipd/moby,mixja/docker,scotttlin/docker,davinashreddy/docker,johnstep/docker.github.io,michael-holzheu/docker,sfsmithcha/docker,TrumanLing/docker,projectatomic/docker,upmio/docker,jloehel/docker,qudongfang/docker,djs55/docker,endophage/docker,gdevillele/docker.github.io,mikebrow/docker,Tenk42/docker,shishir-a412ed/docker,alfred-landrum/docker,x1022as/docker,Mokolea/docker,gschaetz/moby,kencochrane/docker,estesp/docker,stainboy/docker,konstruktoid/docker-1,nalind/docker,pecameron/docker,mtanlee/docker,ajaymdesai/docker,Altiscale/docker,vijaykilari/docker,ashmo123/docker,eskaaren/docker,crosbymichael/docker,hqhq/moby,phiroict/docker,sheimi/docker,sarnautov/moby,Distrotech/docker,kyle-wang/docker,ZJUshuaizhou/docker,imeoer/hypercli,konstruktoid/docker-1,medallia/docker,joaofnfernandes/docker.github.io,Morsicus/docker,xuxinkun/docker,dccurtis/docker,mikebrow/docker,Neverous/docker,Syntaxide/docker,tonistiigi/docker,Akasurde/docker,imeoer/hypercli,anweiss/docker.github.io,mahak/docker,moxiegirl/docker,docker/docker.github.io,johnstep/moby-moby,pramodhkp/moby,fsoppelsa/docker,ailispaw/docker,hustcat/docker,wenchma/docker,ColinHebert/docker,coolljt0725/docker,hallyn/docker,laijs/moby,duglin/docker,achanda/docker,paralin/docker,mrfuxi/docker,zhangjianfnst/docker,noxiouz/docker,jongiddy/docker,danyalKhaliq10p/moby,lixiaobing1/docker,Ramzec/docker,mohmost12/docker,POLJM242/docker,danyalKhaliq10p/moby,moby/moby,trebonian/docker,ktraghavendra/docker,anujbahuguna/docker,q384566678/docker,abhinavdahiya/docker,jameszhan/docker,docker/docker.github.io,swasd/baleno,medallia/docker,srust/docker,ckeyer/docker,JimGalasyn/docker.github.io,brahmaroutu/docker,mgoelzer/docker,geekylucas/docker,swasd/baleno,londoncalling/docker.github.io,moby/moby,JMesser81/docker,bearstech/moby,sunyuan3/docker,rickyzhang82/docker,eskaaren/docker,troy0820/docker.github.io,londoncalling/docker.github.io,sanjeo/docker,rillig/docker.github.io,coreos/docker,moby/moby,swasd/baleno,shubheksha/docker.github.io,KarthikNayak/docker,xiekeyang/docker,cyphar/docker,cloudflare/docker,konstruktoid/docker-upstream,justyntemme/docker,x1022as/docker,s7v7nislands/docker,mstanleyjones/docker,ktraghavendra/docker,anweiss/docker.github.io,miminar/docker,unclejack/docker,londoncalling/docker.github.io,rillig/docker.github.io,BSWANG/denverdino.github.io,OnePaaS/docker,containers/storage,naveed-jamil-tenpearls/moby,errordeveloper/docker,isubuz/docker,hyperhq/hypercli,rancher/docker,scollier/docker,Test-Betta-Inc/psychic-barnacle,Collinux/docker,jimjag/docker,johnstep/docker.github.io,menglingwei/denverdino.github.io,mahak/docker,HackToday/docker,BenHall/docker,Tenk42/docker,flavio/docker,LuisBosquez/docker.github.io,mbanikazemi/docker,yongtang/docker,jloehel/docker,sallyom/docker,runcom/docker,afein/docker,DoraALin/docker,KarthikNayak/docker,ZJUshuaizhou/docker,ibuildthecloud/docker,ajaymdesai/docker,jc-m/docker-medallia,nghiant2710/docker,charleszheng44/moby,kerneltime/docker,LuisBosquez/docker.github.io,toli/docker,troy0820/docker.github.io,dbonev/docker,qzio/docker,willmtemple/docker,haveatry/docker,medallia/docker,amatsus/docker,Mokolea/docker,alexisbellido/docker.github.io,Akasurde/docker,shishir-a412ed/docker,carolfh/docker,asbjornenge/docker,xiekeyang/docker,LuisBosquez/docker.github.io,jzwlqx/denverdino.github.io,jasonamyers/docker,ffoysal/docker,denverdino/denverdino.github.io,alexisbellido/docker.github.io,icecrime/docker,yongtang/docker,JeffBellegarde/docker,sterchelen/docker,jecarey/docker,sean-jc/docker,tophj-ibm/moby,diogomonica/docker,rkazak/docker,pragyasardana/Docker-cr-combined,cloudflare/docker,bdwill/docker.github.io,sarnautov/moby,ffoysal/docker,jlebon/docker,danix800/docker.github.io,endocode/docker,aidanhs/docker,laijs/docker,gnailuy/docker,yummypeng/docker,harche/docker,kencochrane/docker,denverdino/docker.github.io,Mokolea/docker,aduermael/docker.github.io,darrenstahlmsft/docker,lixiaobing10051267/docker,joeuo/docker.github.io,aaronlehmann/docker,mtrmac/docker,trebonian/docker,mrfuxi/docker,cyli/docker,dsheets/moby,nathanleclaire/docker,rremer/moby,darrenstahlmsft/moby,mariusGundersen/docker,bonczj/moby-json-file-logger,miminar/docker,sreejithr/docker,arun-gupta/docker,kerneltime/docker,flavio/docker,icaoweiwei/docker,sanscontext/docker.github.io,moul/docker,HideoYamauchi/docker,Neverous/docker,hallyn/docker,SaiedKazemi/docker,vdemeester/docker,gschaetz/moby,AkihiroSuda/docker,aaronlehmann/docker,14rcole/docker,tophj-ibm/moby,zhuohual/docker,ndeloof/docker,allencloud/docker,containers/storage,coolljt0725/docker,crosbymichael/docker,gao-feng/docker,endocode/docker,jongiddy/docker,clintonskitson/docker,tpounds/docker,jimjag/docker,duglin/docker,shin-/docker.github.io,trebonian/docker,Collinux/docker,mtesselH/docker,bdwill/docker.github.io,shhsu/docker,Microsoft/docker,pyotr777/docker,q384566678/docker,zelahi/docker,erikh/docker,madhanrm/docker,KarthikNayak/docker,cmehay/docker-1,londoncalling/docker.github.io,tagomoris/docker,fcrisciani/docker,Syntaxide/docker,TrumanLing/docker,stainboy/docker,johnstep/moby-moby,kolyshkin/docker,Shopify/docker,prertik/docker,softprops/docker,gdevillele/docker.github.io,Aegeaner/docker,trebonian/docker,denverdino/denverdino.github.io,HackToday/docker,yasiramin10p/moby,dongjoon-hyun/docker,ashmo123/docker,ripcurld0/moby,flythecircle/gotojourney,pyotr777/docker,flythecircle/gotojourney,anweiss/docker.github.io,cpuguy83/docker,moypray/docker,rremer/moby,Shopify/docker,Morsicus/docker,YujiOshima/docker,zhuguihua/docker,dims/docker,allencloud/docker,hustcat/docker,softprops/docker,inatatsu/docker,amatsus/docker,HideoYamauchi/docker,jlebon/docker,resin-io/docker,nigelpoulton/docker,Collinux/docker,thaJeztah/docker.github.io,cnaize/docker,icaoweiwei/docker,tonistiigi/docker,LaynePeng/docker,darrenstahlmsft/docker,anortef/docker,ajneu/docker,ajneu/docker,ailispaw/docker,mtesselH/docker,cr7pt0gr4ph7/docker,gjaskiewicz/moby,Jimmy-Xu/hypercli,nalind/docker,liaoqingwei/docker,johnstep/docker.github.io,jecarey/docker,mathewkoshy493/docker,yosifkit/docker,thaJeztah/docker.github.io,pradipd/moby,ivansaracino/docker,denverdino/docker.github.io,DoraALin/docker,tklauser/docker,TheBigBear/docker,abhinavdahiya/docker,ibuildthecloud/docker,skatsuta/docker,LuisBosquez/docker.github.io,xuxinkun/docker,carolfh/docker,diogomonica/docker,sanscontext/docker.github.io,projectatomic/docker,dsau/docker,s7v7nislands/docker,charleswhchan/docker,jhorwit2/docker,alfred-landrum/docker,arun-gupta/docker,nigelpoulton/docker,vijaykilari/docker,Altiscale/docker,justyntemme/docker,tmp6154/docker,dmcgowan/docker,sean-jc/docker,Mokolea/docker,kimh/docker,bearstech/moby,coolljt0725/docker,zhuohual/docker,sdurrheimer/docker,shishir-a412ed/docker,dccurtis/docker,justyntemme/docker,achanda/docker,clintonskitson/docker,rhatdan/storage,cmehay/docker-1,yasiramin10p/moby,amatsus/docker,madhanrm/docker,dims/docker,diogomonica/docker,mkumatag/docker,docker-zh/docker.github.io,docker/docker,sdurrheimer/docker,LaynePeng/docker,fsoppelsa/docker,yp-engineering/docker,phiroict/docker,YuPengZTE/docker,Shopify/docker,ckeyer/docker,pmalmgren/docker,medallia/docker,YuPengZTE/docker,imkin/moby,harche/docker,pragyasardana/Docker-cr-combined,darrenstahlmsft/moby,sunyuan3/docker,x1022as/docker,stevvooe/docker,ncdc/docker,tkopczynski/docker,darrenstahlmsft/docker,msabansal/docker,kyle-wang/docker,OnePaaS/docker,ibuildthecloud/docker,HideoYamauchi/docker,dccurtis/docker,shin-/docker.github.io,moul/docker,pragyasardana/Docker-cr-combined,BenHall/docker,erikstmartin/docker,Aegeaner/docker,cnaize/docker,cyphar/docker,sarnautov/moby,kolyshkin/moby,ckeyer/docker,sanscontext/docker.github.io,SaiedKazemi/docker,thtanaka/docker,denverdino/docker.github.io,BrianBland/docker,izarov/docker,JimGalasyn/docker.github.io,crosbymichael/docker,rillig/docker.github.io,BSWANG/denverdino.github.io,aidanhs/docker,jimjag/docker,noxiouz/docker,errordeveloper/docker,moxiegirl/docker,noxiouz/docker,shin-/docker.github.io,aduermael/docker.github.io,afein/docker,ibuildthecloud/docker,LuisBosquez/docker.github.io,rickyzhang82/docker,mikedougherty/docker,ibuildthecloud/docker,justincormack/docker,YujiOshima/docker,JeffBellegarde/docker,mixja/docker,konstruktoid/docker-upstream,thaJeztah/docker,fangyuan930917/docker,justincormack/docker,londoncalling/docker.github.io,paralin/docker,xuxinkun/docker,ailispaw/docker,mariusGundersen/docker,paralin/docker,mstanleyjones/docker,twaugh/docker,achanda/docker,JMesser81/docker,madhanrm/docker,bearstech/moby,jameszhan/docker,rhuss/docker,umerazad/docker,jlhawn/docker,pecameron/docker,lixiaobing1/docker,joaofnfernandes/docker.github.io,gigidwan/docker,scotttlin/docker,softprops/docker,asbjornenge/docker,sreejithr/docker,pmalmgren/docker,liaoqingwei/docker,mauidev/docker,raja-sami-10p/moby,geekylucas/docker,mssola/docker,pradipd/moby,haugene/docker,cr7pt0gr4ph7/docker,Microsoft/docker,dongjoon-hyun/docker,Ramzec/docker,kojiromike/docker,supasate/docker,shin-/docker.github.io,lixiaobing1/docker,denverdino/docker.github.io,docker-zh/docker.github.io,sallyom/docker,nguyentm83/docker,Syntaxide/docker,tmp6154/docker,rhardih/docker,eskaaren/docker,portworx/docker,stainboy/docker,gao-feng/docker,angryxlt/docker,aditirajagopal/docker,catinthesky/docker,dgageot/docker,mohmost12/docker,mstanleyjones/docker,haugene/docker,mahak/docker,denverdino/denverdino.github.io,14rcole/docker,portworx/docker,gnailuy/docker,TrumanLing/docker,mtesselH/docker,bfirsh/docker,sanjeo/docker,anusha-ragunathan/docker,joeuo/docker.github.io,Jimmy-Xu/hypercli,jameszhan/docker,anortef/docker,wenchma/docker,shubheksha/docker.github.io,bluebreezecf/docker,Ramzec/docker,thaJeztah/docker.github.io,pecameron/docker,Aegeaner/docker,BSWANG/denverdino.github.io,dnephin/docker,michael-holzheu/docker,aduermael/docker.github.io,q384566678/docker,bluebreezecf/docker,tpounds/docker,maxamillion/docker,sallyom/docker,yosifkit/docker,upmio/docker,KingEmet/docker,menglingwei/denverdino.github.io,mikedougherty/docker,tbonza/docker,yummypeng/docker,xiekeyang/docker,zhangjianfnst/docker,ncdc/docker,sanjeo/docker,msabansal/docker,jc-m/docker,jc-m/docker,unclejack/docker,thtanaka/docker,shhsu/docker,kolyshkin/docker,catinthesky/docker,dgageot/docker,dbonev/docker,cpuguy83/docker,jvanz/docker,izarov/docker,shin-/docker.github.io,mikedanese/docker,SvenDowideit/docker,srust/docker,darrenstahlmsft/moby,supasate/docker,scotttlin/docker,splunk/docker,mikedanese/docker,bonczj/moby-json-file-logger,nghiant2710/docker,dsau/docker,haveatry/docker,hqhq/moby,tklauser/docker,phiroict/docker,SvenDowideit/docker,Microsoft/docker,alexisbellido/docker.github.io,Mashimiao/docker,mtrmac/docker,coreos/docker,solganik/docker,konstruktoid/docker-upstream,joaofnfernandes/docker.github.io,errordeveloper/docker,BSWANG/denverdino.github.io,flavio/docker,hypriot/docker,runcom/docker,mahak/docker,docker/docker,mikedougherty/docker,phiroict/docker,ffoysal/docker,aaronlehmann/docker,dsheets/moby,maxamillion/docker,AkihiroSuda/docker,docker-zh/docker.github.io,JimGalasyn/docker.github.io,nawawi/docker,abhinavdahiya/docker,Ramzec/docker,joaofnfernandes/docker.github.io,csfrancis/docker,jc-m/docker-medallia,joaofnfernandes/docker.github.io,zhuguihua/docker,gnailuy/docker,jlhawn/docker,PatrickLang/moby,scollier/docker,13W/docker,denverdino/denverdino.github.io,tophj-ibm/moby,allencloud/docker,jlhawn/docker,upmio/docker,fcrisciani/docker,tophj-ibm/docker,mathewkoshy493/docker,vincentwoo/docker,gigidwan/docker,johnstep/docker.github.io,alexisbellido/docker.github.io,denverdino/denverdino.github.io,mike1729/docker,portworx/docker,resin-io/docker,JimGalasyn/docker.github.io,rhatdan/docker,supasate/docker,umerazad/docker,mixja/docker,jwhonce/docker,kolyshkin/moby,sterchelen/docker,jzwlqx/denverdino.github.io,imkin/moby,danix800/docker.github.io,gdevillele/docker.github.io,arun-gupta/docker,troy0820/docker.github.io,dmcgowan/docker,KingEmet/docker,rancher/docker,inatatsu/docker,tbonza/docker,SvenDowideit/docker,runcom/docker,jc-m/docker,troy0820/docker.github.io,laijs/docker,jzwlqx/denverdino.github.io,davinashreddy/docker,ajaymdesai/docker,rremer/moby,mbanikazemi/docker,BrianBland/docker,jloehel/docker,gjaskiewicz/moby,askb/docker,laijs/moby,nathanleclaire/docker,ItsVeryWindy/docker,nguyentm83/docker,kerneltime/docker,sheimi/docker,noironetworks/docker,DoraALin/docker,anweiss/docker.github.io,kimh/docker,alfred-landrum/docker,jvanz/docker,gjaskiewicz/moby,Akasurde/docker,jthelin/docker,liaoqingwei/docker,twaugh/docker,bfirsh/docker,johnstep/moby-moby,ZJU-SEL/docker,miminar/docker,whuwxl/docker,jthelin/docker,willmtemple/docker,mbanikazemi/docker,rhuss/docker,asbjornenge/docker,mkumatag/docker,solganik/docker,sunyuan3/docker,dperny/docker,thaJeztah/docker.github.io,Distrotech/docker,csfrancis/docker,Mashimiao/docker,13W/docker,Test-Betta-Inc/psychic-barnacle,zelahi/docker,sterchelen/docker,michelvocks/docker,SaiedKazemi/docker,TheBigBear/docker,twaugh/docker,zhuguihua/docker,mtanlee/docker,charleszheng44/moby,denverdino/docker.github.io,anweiss/docker.github.io,johnstep/docker.github.io,bdwill/docker.github.io,yp-engineering/docker,izarov/docker,whuwxl/docker,docker-zh/docker.github.io,JimGalasyn/docker.github.io,docker/docker.github.io,nalind/docker,afein/docker,cloudflare/docker,gigidwan/docker,Tenk42/docker,gnailuy/docker,pramodhkp/moby,angryxlt/docker,mathewkoshy493/docker,shubheksha/docker.github.io,tophj-ibm/docker,ColinHebert/docker,icaoweiwei/docker,luxas/docker,solganik/docker,yosifkit/docker,srust/docker,YuPengZTE/docker,rhardih/docker,thtanaka/docker,endophage/docker,vincentwoo/docker,sdurrheimer/docker,zhangjianfnst/docker,jhorwit2/docker,hypriot/docker,konstruktoid/docker-upstream,jongiddy/docker,mgoelzer/docker,yongtang/docker,laijs/moby,danyalKhaliq10p/moby,ripcurld0/moby,jwhonce/docker,naveed-jamil-tenpearls/moby,nghiant2710/docker,vdemeester/docker,laijs/docker,Morsicus/docker,xiaods/docker,PatrickLang/moby,HuKeping/docker,AkihiroSuda/docker,bdwill/docker.github.io,mtrmac/docker,anortef/docker,sanscontext/docker.github.io,ndeloof/docker,PatrickLang/moby,LaynePeng/docker,toli/docker,Jimmy-Xu/hypercli,ZJUshuaizhou/docker,HuKeping/docker,qudongfang/docker,tpounds/docker,ktraghavendra/docker,michael-holzheu/docker,rkazak/docker,resin-io/docker,stevvooe/docker,shhsu/docker,projectatomic/docker,danix800/docker.github.io,gdevillele/docker.github.io,jlebon/docker,splunk/docker,cnaize/docker,cpuguy83/docker,kunalkushwaha/docker,nawawi/docker,kunalkushwaha/docker,skatsuta/docker,imkin/moby,bonczj/moby-json-file-logger,dims/docker,kojiromike/docker,contiv/docker,danix800/docker.github.io,kolyshkin/moby,jimjag/docker,mike1729/docker,moul/docker,djs55/docker,HuKeping/docker,vincentwoo/docker,splunk/docker,wenchma/docker,dmcgowan/docker,brahmaroutu/docker,joeuo/docker.github.io,cr7pt0gr4ph7/docker,bearstech/moby,dnephin/docker,lixiaobing10051267/docker,dperny/docker,Mashimiao/docker,raja-sami-10p/moby,BenHall/docker,lixiaobing10051267/docker,tmp6154/docker,anusha-ragunathan/docker,haveatry/docker,tklauser/docker,harche/docker,skatsuta/docker,askb/docker,pramodhkp/moby,docker/docker.github.io,phiroict/docker,joeuo/docker.github.io,mtanlee/docker