loggerutils: build fixes, improve errors
loggerutils: build fixes, improve errors

There are two build errors when using go-1.11beta1:

> daemon/logger/loggerutils/logfile.go:367: Warningf format %q arg f.Name is a func value, not called
> daemon/logger/loggerutils/logfile.go:564: Debug call has possible formatting directive %v

In the first place, the file name is actually not required as error
message already includes it.

While at it, fix a couple of other places for more correct messages, and
make sure to not add a file name if an error already has it.

Fixes: f69f09f44c
Signed-off-by: Kir Kolyshkin <3a017b8ddb3f9cf3e4a59978b004111bdeb97f08@gmail.com>
Signed-off-by: Sebastiaan van Stijn <64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@gone.nl>

nalind/docker,docker/docker,KarthikNayak/docker,rancher/docker,ibuildthecloud/docker,jwhonce/docker,ibuildthecloud/docker,estesp/docker,flavio/docker,nalind/docker,mahak/docker,YuPengZTE/docker,dmcgowan/docker,crosbymichael/docker,AkihiroSuda/docker,konstruktoid/docker-1,laijs/docker,justincormack/docker,djs55/docker,YuPengZTE/docker,ibuildthecloud/docker,tmp6154/docker,rremer/moby,jvanz/docker,johnstep/moby-moby,Mokolea/docker,tmp6154/docker,dims/docker,jimjag/docker,docker/docker,Ramzec/docker,thaJeztah/docker,bearstech/moby,KarthikNayak/docker,thaJeztah/docker,laijs/moby,laijs/docker,maxamillion/docker,bearstech/moby,rancher/docker,dmcgowan/docker,mahak/docker,dmcgowan/docker,estesp/docker,x1022as/docker,allencloud/docker,KarthikNayak/docker,rremer/moby,scotttlin/docker,johnstep/moby-moby,paralin/docker,nawawi/docker,jlhawn/docker,trebonian/docker,maxamillion/docker,allencloud/docker,bearstech/moby,gnailuy/docker,thaJeztah/docker,nawawi/docker,rremer/moby,unclejack/docker,jameszhan/docker,jlhawn/docker,justincormack/docker,flavio/docker,ibuildthecloud/docker,nalind/docker,pradipd/moby,yosifkit/docker,flavio/docker,jameszhan/docker,AkihiroSuda/docker,pradipd/moby,dims/docker,maxamillion/docker,laijs/moby,yongtang/docker,djs55/docker,djs55/docker,yosifkit/docker,crosbymichael/docker,pradipd/moby,x1022as/docker,x1022as/docker,paralin/docker,SvenDowideit/docker,Mokolea/docker,konstruktoid/docker-upstream,jlhawn/docker,yosifkit/docker,kolyshkin/moby,jimjag/docker,konstruktoid/docker-1,Mokolea/docker,AkihiroSuda/docker,moul/docker,jthelin/docker,kojiromike/docker,jwhonce/docker,rancher/docker,mikebrow/docker,moul/docker,scotttlin/docker,AkihiroSuda/docker,kolyshkin/docker,cpuguy83/docker,bearstech/moby,docker/docker,crosbymichael/docker,moby/moby,cpuguy83/docker,Ramzec/docker,flavio/docker,scotttlin/docker,nalind/docker,jvanz/docker,mahak/docker,nawawi/docker,unclejack/docker,gnailuy/docker,cpuguy83/docker,yosifkit/docker,jthelin/docker,gnailuy/docker,jvanz/docker,Ramzec/docker,dims/docker,thaJeztah/docker,tmp6154/docker,jameszhan/docker,kolyshkin/moby,yongtang/docker,konstruktoid/docker-1,trebonian/docker,unclejack/docker,jwhonce/docker,moul/docker,trebonian/docker,nawawi/docker,moby/moby,johnstep/moby-moby,kojiromike/docker,laijs/docker,moul/docker,Ramzec/docker,trebonian/docker,mikebrow/docker,paralin/docker,moby/moby,gnailuy/docker,jimjag/docker,jimjag/docker,vdemeester/docker,moby/moby,mahak/docker,konstruktoid/docker-upstream,vdemeester/docker,SvenDowideit/docker,vdemeester/docker,kojiromike/docker,Mokolea/docker,allencloud/docker,yongtang/docker,ibuildthecloud/docker,estesp/docker,mikebrow/docker,konstruktoid/docker-upstream,kolyshkin/docker,justincormack/docker,YuPengZTE/docker,paralin/docker,laijs/moby,SvenDowideit/docker,kolyshkin/moby,cpuguy83/docker,konstruktoid/docker-upstream