fix LogConfig for containers created before docker 1.12 on daemon startup
fix LogConfig for containers created before docker 1.12 on daemon startup

Signed-off-by: Shijiang Wei <d51735f6fb3b158a0436903895ceec01381bfb9f@gmail.com>

noironetworks/docker,moypray/docker,HideoYamauchi/docker,denverdino/docker.github.io,jameszhan/docker,konstruktoid/docker-upstream,bdwill/docker.github.io,yp-engineering/docker,danyalKhaliq10p/moby,laijs/moby,moypray/docker,hqhq/moby,eskaaren/docker,docker/docker.github.io,medallia/docker,bdwill/docker.github.io,q384566678/docker,jlebon/docker,londoncalling/docker.github.io,yummypeng/docker,ibuildthecloud/docker,jimjag/docker,BSWANG/denverdino.github.io,vdemeester/docker,rillig/docker.github.io,POLJM242/docker,mikedougherty/docker,xiaods/docker,allencloud/docker,mahak/docker,docker-zh/docker.github.io,JimGalasyn/docker.github.io,troy0820/docker.github.io,tmp6154/docker,hypriot/docker,bearstech/moby,jzwlqx/denverdino.github.io,thtanaka/docker,laijs/docker,Ramzec/docker,bdwill/docker.github.io,nghiant2710/docker,rillig/docker.github.io,vdemeester/docker,coolljt0725/docker,charleszheng44/moby,medallia/docker,mohmost12/docker,ColinHebert/docker,mtesselH/docker,shubheksha/docker.github.io,mixja/docker,rhatdan/storage,anweiss/docker.github.io,danyalKhaliq10p/moby,darrenstahlmsft/moby,moby/moby,Ramzec/docker,docker-zh/docker.github.io,alexisbellido/docker.github.io,whuwxl/docker,duglin/docker,kunalkushwaha/docker,dgageot/docker,asbjornenge/docker,troy0820/docker.github.io,shishir-a412ed/docker,bdwill/docker.github.io,flavio/docker,docker/docker.github.io,menglingwei/denverdino.github.io,madhanrm/docker,mtanlee/docker,alexisbellido/docker.github.io,dsau/docker,jhorwit2/docker,miminar/docker,zhuguihua/docker,tianon/docker,rhatdan/storage,trebonian/docker,harche/docker,twaugh/docker,shin-/docker.github.io,KarthikNayak/docker,portworx/docker,yasiramin10p/moby,mikedougherty/docker,srust/docker,paralin/docker,thaJeztah/docker.github.io,stainboy/docker,mstanleyjones/docker,raja-sami-10p/moby,yosifkit/docker,tophj-ibm/docker,mohmost12/docker,ndeloof/docker,abhinavdahiya/docker,rancher/docker,darrenstahlmsft/docker,johnstep/docker.github.io,LuisBosquez/docker.github.io,ajaymdesai/docker,dnephin/docker,phiroict/docker,Shopify/docker,portworx/docker,qudongfang/docker,KingEmet/docker,djs55/docker,HuKeping/docker,thaJeztah/docker,rancher/docker,AkihiroSuda/docker,srust/docker,splunk/docker,anweiss/docker.github.io,mikebrow/docker,13W/docker,justyntemme/docker,kojiromike/docker,denverdino/denverdino.github.io,whuwxl/docker,Morsicus/docker,flavio/docker,shubheksha/docker.github.io,tmp6154/docker,johnstep/docker.github.io,jameszhan/docker,dccurtis/docker,13W/docker,jlebon/docker,moypray/docker,coreos/docker,thaJeztah/docker.github.io,PatrickLang/moby,HuKeping/docker,asbjornenge/docker,mikedougherty/docker,akira-baruah/docker,dmcgowan/docker,rhatdan/storage,justincormack/docker,konstruktoid/docker-1,thaJeztah/docker,imkin/moby,jimjag/docker,trebonian/docker,thaJeztah/docker.github.io,dnephin/docker,imkin/moby,Ramzec/docker,danix800/docker.github.io,jzwlqx/denverdino.github.io,ColinHebert/docker,darrenstahlmsft/moby,13W/docker,gnailuy/docker,liaoqingwei/docker,anweiss/docker.github.io,sfsmithcha/docker,tophj-ibm/docker,sterchelen/docker,noxiouz/docker,x1022as/docker,tophj-ibm/moby,shin-/docker.github.io,nalind/docker,diogomonica/docker,srust/docker,mtrmac/docker,danix800/docker.github.io,thaJeztah/docker,michelvocks/docker,estesp/docker,13W/docker,nawawi/docker,rhatdan/docker,asbjornenge/docker,paralin/docker,moul/docker,POLJM242/docker,twaugh/docker,cpuguy83/docker,YuPengZTE/docker,jwhonce/docker,phiroict/docker,jongiddy/docker,danix800/docker.github.io,Morsicus/docker,nalind/docker,menglingwei/denverdino.github.io,xiekeyang/docker,maxamillion/docker,yp-engineering/docker,konstruktoid/docker-1,alfred-landrum/docker,jvanz/docker,qudongfang/docker,denverdino/denverdino.github.io,nghiant2710/docker,denverdino/denverdino.github.io,Shopify/docker,cyphar/docker,bdwill/docker.github.io,stainboy/docker,sarnautov/moby,shin-/docker.github.io,mahak/docker,fcrisciani/docker,paralin/docker,ibuildthecloud/docker,moby/moby,cloudflare/docker,flavio/docker,moby/moby,sarnautov/moby,dims/docker,johnstep/docker.github.io,jlebon/docker,kojiromike/docker,SvenDowideit/docker,shubheksha/docker.github.io,jwhonce/docker,johnstep/moby-moby,denverdino/denverdino.github.io,kolyshkin/moby,erikstmartin/docker,joeuo/docker.github.io,pradipd/moby,tophj-ibm/moby,medallia/docker,Mokolea/docker,phiroict/docker,erikh/docker,afein/docker,yosifkit/docker,cpuguy83/docker,dims/docker,mixja/docker,projectatomic/docker,michelvocks/docker,resin-io/docker,nghiant2710/docker,tagomoris/docker,nawawi/docker,konstruktoid/docker-upstream,johnstep/docker.github.io,nawawi/docker,sanscontext/docker.github.io,fcrisciani/docker,hypriot/docker,maxamillion/docker,djs55/docker,sdurrheimer/docker,msabansal/docker,cr7pt0gr4ph7/docker,rremer/moby,BSWANG/denverdino.github.io,gdevillele/docker.github.io,laijs/docker,estesp/docker,docker/docker.github.io,dims/docker,menglingwei/denverdino.github.io,brahmaroutu/docker,ffoysal/docker,liaoqingwei/docker,lixiaobing10051267/docker,alexisbellido/docker.github.io,docker/docker,bearstech/moby,rremer/moby,yosifkit/docker,icaoweiwei/docker,bluebreezecf/docker,mstanleyjones/docker,shin-/docker.github.io,coolljt0725/docker,abhinavdahiya/docker,sdurrheimer/docker,HuKeping/docker,stainboy/docker,jthelin/docker,xiekeyang/docker,dperny/docker,dccurtis/docker,londoncalling/docker.github.io,jlhawn/docker,wenchma/docker,msabansal/docker,trebonian/docker,KingEmet/docker,BSWANG/denverdino.github.io,tkopczynski/docker,denverdino/docker.github.io,aduermael/docker.github.io,danix800/docker.github.io,shubheksha/docker.github.io,YuPengZTE/docker,sfsmithcha/docker,sanjeo/docker,gdevillele/docker.github.io,johnstep/moby-moby,moul/docker,joaofnfernandes/docker.github.io,rillig/docker.github.io,endophage/docker,docker/docker,raja-sami-10p/moby,jzwlqx/denverdino.github.io,allencloud/docker,duglin/docker,duglin/docker,joeuo/docker.github.io,cyphar/docker,haveatry/docker,dgageot/docker,nawawi/docker,mike1729/docker,sanjeo/docker,crosbymichael/docker,denverdino/denverdino.github.io,SvenDowideit/docker,phiroict/docker,yosifkit/docker,coreos/docker,portworx/docker,darrenstahlmsft/docker,dongjoon-hyun/docker,whuwxl/docker,yummypeng/docker,wenchma/docker,dmcgowan/docker,estesp/docker,raja-sami-10p/moby,tophj-ibm/docker,brahmaroutu/docker,justincormack/docker,gjaskiewicz/moby,troy0820/docker.github.io,unclejack/docker,mtrmac/docker,gdevillele/docker.github.io,kencochrane/docker,gnailuy/docker,alexisbellido/docker.github.io,sterchelen/docker,docker-zh/docker.github.io,tklauser/docker,Mokolea/docker,BSWANG/denverdino.github.io,harche/docker,noironetworks/docker,HideoYamauchi/docker,xiaods/docker,miminar/docker,stevvooe/docker,lixiaobing1/docker,laijs/moby,justyntemme/docker,shhsu/docker,endophage/docker,yongtang/docker,charleszheng44/moby,gdevillele/docker.github.io,JimGalasyn/docker.github.io,JimGalasyn/docker.github.io,jimjag/docker,abhinavdahiya/docker,laijs/moby,ripcurld0/moby,docker/docker.github.io,bearstech/moby,rhatdan/docker,moul/docker,bluebreezecf/docker,amatsus/docker,kencochrane/docker,KarthikNayak/docker,anweiss/docker.github.io,dsau/docker,joaofnfernandes/docker.github.io,sanscontext/docker.github.io,thaJeztah/docker.github.io,ndeloof/docker,mtanlee/docker,Morsicus/docker,noxiouz/docker,ripcurld0/moby,menglingwei/denverdino.github.io,hypriot/docker,LuisBosquez/docker.github.io,crosbymichael/docker,sfsmithcha/docker,troy0820/docker.github.io,BSWANG/denverdino.github.io,londoncalling/docker.github.io,prertik/docker,AkihiroSuda/docker,harche/docker,rhatdan/docker,unclejack/docker,jvanz/docker,kolyshkin/docker,projectatomic/docker,gnailuy/docker,bluebreezecf/docker,lixiaobing1/docker,JMesser81/docker,xiekeyang/docker,kencochrane/docker,madhanrm/docker,joaofnfernandes/docker.github.io,tonistiigi/docker,jhorwit2/docker,medallia/docker,dnephin/docker,sterchelen/docker,AkihiroSuda/docker,crosbymichael/docker,rancher/docker,yasiramin10p/moby,jzwlqx/denverdino.github.io,michael-holzheu/docker,yasiramin10p/moby,michael-holzheu/docker,johnstep/moby-moby,catinthesky/docker,dgageot/docker,tkopczynski/docker,mtesselH/docker,denverdino/docker.github.io,dmcgowan/docker,mike1729/docker,mtrmac/docker,pradipd/moby,PatrickLang/moby,Shopify/docker,mikebrow/docker,kunalkushwaha/docker,containers/storage,dsheets/moby,tianon/docker,menglingwei/denverdino.github.io,ffoysal/docker,shishir-a412ed/docker,thtanaka/docker,dongjoon-hyun/docker,joeuo/docker.github.io,eskaaren/docker,miminar/docker,konstruktoid/docker-1,darrenstahlmsft/docker,ibuildthecloud/docker,gschaetz/moby,naveed-jamil-tenpearls/moby,hqhq/moby,thtanaka/docker,xuxinkun/docker,LuisBosquez/docker.github.io,resin-io/docker,moul/docker,justyntemme/docker,cr7pt0gr4ph7/docker,SvenDowideit/docker,tonistiigi/docker,lixiaobing10051267/docker,LuisBosquez/docker.github.io,konstruktoid/docker-upstream,kolyshkin/docker,alexisbellido/docker.github.io,mtesselH/docker,danyalKhaliq10p/moby,resin-io/docker,dperny/docker,joeuo/docker.github.io,jzwlqx/denverdino.github.io,docker-zh/docker.github.io,tklauser/docker,tmp6154/docker,PatrickLang/moby,qudongfang/docker,Ramzec/docker,jlhawn/docker,gschaetz/moby,lixiaobing10051267/docker,bearstech/moby,charleszheng44/moby,erikstmartin/docker,shhsu/docker,amatsus/docker,mkumatag/docker,gjaskiewicz/moby,scotttlin/docker,jongiddy/docker,cyphar/docker,splunk/docker,pramodhkp/moby,alfred-landrum/docker,sanscontext/docker.github.io,JimGalasyn/docker.github.io,docker-zh/docker.github.io,jwhonce/docker,afein/docker,yongtang/docker,anweiss/docker.github.io,Mokolea/docker,cloudflare/docker,Syntaxide/docker,denverdino/docker.github.io,erikstmartin/docker,dongjoon-hyun/docker,hqhq/moby,ajaymdesai/docker,yp-engineering/docker,rillig/docker.github.io,michael-holzheu/docker,dsau/docker,mohmost12/docker,mahak/docker,mahak/docker,catinthesky/docker,aduermael/docker.github.io,shishir-a412ed/docker,imkin/moby,haveatry/docker,mixja/docker,xiaods/docker,jvanz/docker,trebonian/docker,splunk/docker,fcrisciani/docker,docker/docker,noironetworks/docker,afein/docker,x1022as/docker,zhuguihua/docker,YuPengZTE/docker,kunalkushwaha/docker,sanscontext/docker.github.io,denverdino/docker.github.io,jhorwit2/docker,alfred-landrum/docker,scotttlin/docker,pradipd/moby,LuisBosquez/docker.github.io,gjaskiewicz/moby,Syntaxide/docker,darrenstahlmsft/moby,diogomonica/docker,cpuguy83/docker,tagomoris/docker,JMesser81/docker,jthelin/docker,wenchma/docker,dperny/docker,diogomonica/docker,laijs/docker,naveed-jamil-tenpearls/moby,prertik/docker,mike1729/docker,coreos/docker,JimGalasyn/docker.github.io,sarnautov/moby,xuxinkun/docker,joaofnfernandes/docker.github.io,shin-/docker.github.io,nalind/docker,ibuildthecloud/docker,q384566678/docker,tagomoris/docker,johnstep/docker.github.io,cr7pt0gr4ph7/docker,docker/docker.github.io,gnailuy/docker,aduermael/docker.github.io,KarthikNayak/docker,twaugh/docker,ndeloof/docker,brahmaroutu/docker,tkopczynski/docker,bonczj/moby-json-file-logger,projectatomic/docker,jlhawn/docker,yongtang/docker,sanscontext/docker.github.io,tonistiigi/docker,cpuguy83/docker,jimjag/docker,Syntaxide/docker,londoncalling/docker.github.io,kojiromike/docker,akira-baruah/docker,paralin/docker,gschaetz/moby,mtanlee/docker,endophage/docker,q384566678/docker,ffoysal/docker,nalind/docker,shhsu/docker,flavio/docker,KingEmet/docker,zhuguihua/docker,bonczj/moby-json-file-logger,mkumatag/docker,cloudflare/docker,pramodhkp/moby,vdemeester/docker,JMesser81/docker,sanjeo/docker,kolyshkin/moby,erikh/docker,msabansal/docker,containers/storage,tophj-ibm/moby,kolyshkin/moby,x1022as/docker,ColinHebert/docker,prertik/docker,phiroict/docker,joeuo/docker.github.io,stevvooe/docker,michelvocks/docker,tklauser/docker,mkumatag/docker,ajaymdesai/docker,rremer/moby,unclejack/docker,naveed-jamil-tenpearls/moby,shubheksha/docker.github.io,icaoweiwei/docker,thaJeztah/docker.github.io,eskaaren/docker,konstruktoid/docker-upstream,londoncalling/docker.github.io,sdurrheimer/docker,djs55/docker,moby/moby,dsheets/moby,jameszhan/docker,justincormack/docker,gdevillele/docker.github.io,dsheets/moby,erikh/docker,ibuildthecloud/docker,13W/docker,bonczj/moby-json-file-logger,mstanleyjones/docker,AkihiroSuda/docker,HideoYamauchi/docker,lixiaobing1/docker,yummypeng/docker,liaoqingwei/docker,joaofnfernandes/docker.github.io,containers/storage,haveatry/docker,allencloud/docker,dccurtis/docker,madhanrm/docker,thaJeztah/docker,Mokolea/docker,icaoweiwei/docker,amatsus/docker,stevvooe/docker,jongiddy/docker,pramodhkp/moby,catinthesky/docker,noxiouz/docker,scotttlin/docker,ripcurld0/moby,maxamillion/docker,aduermael/docker.github.io,coolljt0725/docker,mikebrow/docker,xuxinkun/docker