beam/examples/beamsh: fix a bug in the log command
beam/examples/beamsh: fix a bug in the log command

Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)

beni55/swarm-1,rav121/swarm,moxiegirl/swarm,aluzzardi/swarm,therealbill/swarm,francisbouvier/swarm,PeoplePerHour/libswarm,mrjana/swarm,bsmr-docker/swarm,PeoplePerHour/libswarm,danix800/docker.github.io,gradywang/swarm,anweiss/docker.github.io,LuisBosquez/docker.github.io,bdwill/docker.github.io,anweiss/docker.github.io,bdwill/docker.github.io,vieux/swarm,jimmycmh/swarm,moxiegirl/swarm,phiroict/docker,denverdino/denverdino.github.io,LukasBacigal/swarm,JimGalasyn/docker.github.io,phiroict/docker,NunoEdgarGub1/swarm,mrjana/swarm,JimGalasyn/docker.github.io,LukasBacigal/swarm,menglingwei/denverdino.github.io,gdevillele/docker.github.io,anweiss/docker.github.io,ezrasilvera/swarm,bfirsh/swarm,rchicoli/swarm,krystism/swarm,aidora/pisces,mgoelzer/swarm,cpuguy83/swarm,mavenugo/swarm,jimmycmh/swarm,pssahi/swarm,anweiss/docker.github.io,BSWANG/denverdino.github.io,xFragger/swarm,abronan/swarm,denverdino/denverdino.github.io,joaofnfernandes/docker.github.io,chanwit/swarm,rillig/docker.github.io,joeuo/docker.github.io,denverdino/swarm,errordeveloper/swarm,bdwill/docker.github.io,jimenez/swarm,BSWANG/denverdino.github.io,jay-lau/swarm,docker-zh/docker.github.io,denverdino/docker.github.io,docker/docker.github.io,jeffjen/swarm,rajdeepd/swarm,docker/docker.github.io,phiroict/docker,kyhavlov/swarm,fugr/swarm,swarm-hooks/swarm,yp-engineering/swarm,denverdino/docker.github.io,troy0820/docker.github.io,christophelec/swarm,resouer/swarm,kyhavlov/swarm,shubheksha/docker.github.io,rutulpatel/swarm,chanwit/swarm,docker/docker.github.io,Spritekin/swarm,pdevine/swarm,danix800/docker.github.io,NunoEdgarGub1/swarm,srikalyan/swarm,LuisBosquez/docker.github.io,docker/docker.github.io,doronp/swarm,resouer/swarm,shin-/docker.github.io,FollowMyDev/swarm,tangkun75/swarm,snrism/swarm,docker-zh/docker.github.io,denverdino/docker.github.io,danix800/docker.github.io,bdwill/docker.github.io,JimGalasyn/docker.github.io,jzwlqx/denverdino.github.io,sanscontext/docker.github.io,aduermael/docker.github.io,ricca742/swarm,bdwill/docker.github.io,troy0820/docker.github.io,LuisBosquez/docker.github.io,ehazlett/swarm,jimmyxian/swarm,snrism/swarm,jdamick/swarm,ezrasilvera/SwarmACLs,londoncalling/docker.github.io,menglingwei/denverdino.github.io,ch3lo/swarm,sanscontext/docker.github.io,joeuo/docker.github.io,joeuo/docker.github.io,BSWANG/denverdino.github.io,zkcrescent/swarm,jzwlqx/denverdino.github.io,bpradipt/swarm,rav121/swarm,cpuguy83/swarm,thaJeztah/docker.github.io,auzias/swarm,MHBauer/swarm,megamsys/swarm,thaJeztah/docker.github.io,parapsyche/swarm,docker-zh/docker.github.io,JimGalasyn/docker.github.io,linecheng/swarm,atlassian/swarm,atlassian/swarm,BSWANG/swarm,polyverse-security/swarm,zkcrescent/swarm,Aorjoa/swarm,jeffjen/swarm,ehazlett/swarm,adouang/swarm,u2mejc/swarm,linecheng/swarm,CiaranCostello/swarm,riuvshin/swarm,shahankhatch/swarm,schmunk42/swarm,shot/swarm,BSWANG/denverdino.github.io,gradywang/swarm,londoncalling/docker.github.io,rillig/docker.github.io,adouang/swarm,gonkulator/swarm,xFragger/swarm,riuvshin/swarm,dnephin/swarm,krystism/swarm,denverdino/docker.github.io,iaintshine/swarm,morpheyesh/swarm,joaofnfernandes/docker.github.io,menglingwei/denverdino.github.io,swarm-hooks/swarm,aidora/pisces,qianzhangxa/swarm,SivagnanamCiena/swarm,sanscontext/docker.github.io,barais/swarm,megamsys/swarm,thaJeztah/docker.github.io,alexisbellido/docker.github.io,alexisbellido/docker.github.io,FreedomWangLi/swarm,sfsmithcha/swarm,ejholmes/swarm,denverdino/swarm-1,shakamunyi/swarm,everett-toews/swarm,LuisBosquez/docker.github.io,u2mejc/swarm,thaJeztah/docker.github.io,ejholmes/swarm,akerbis/armhf-swarm,qianzhangxa/swarm,echupriyanov/swarm,FollowMyDev/swarm,rchicoli/swarm,Spritekin/swarm,denverdino/denverdino.github.io,jzwlqx/denverdino.github.io,cgvarela/swarm,gonkulator/swarm,unodba/swarm,joaofnfernandes/docker.github.io,tnachen/swarm,parapsyche/swarm,kunalkushwaha/swarm,marsmensch/swarm,jimmyxian/swarm,shin-/docker.github.io,BSWANG/denverdino.github.io,shakamunyi/swarm,BSWANG/swarm,allencloud/swarm,jzwlqx/denverdino.github.io,doronp/swarm,aduermael/docker.github.io,denverdino/swarm-1,jimenez/swarm,docker/docker.github.io,therealbill/swarm,shubheksha/docker.github.io,iaintshine/swarm,rillig/docker.github.io,srikalyan/swarm,EderRoger/swarm,Aorjoa/swarm,alexisbellido/docker.github.io,johnstep/docker.github.io,SivagnanamCiena/swarm,everett-toews/swarm,phiroict/docker,jay-lau/swarm,shubheksha/docker.github.io,shin-/docker.github.io,schmunk42/swarm,gdevillele/docker.github.io,danix800/docker.github.io,aduermael/docker.github.io,gdevillele/docker.github.io,aluzzardi/swarm,beni55/swarm-1,tranceitionalMynd/swarm,gdevillele/docker.github.io,johnstep/docker.github.io,dnephin/swarm,ealang/swarm,cgvarela/swarm,liubin/swarm,docker-zh/docker.github.io,FreedomWangLi/swarm,vlajos/swarm,barais/swarm,liubin/swarm,morpheyesh/swarm,alexisbellido/docker.github.io,joaofnfernandes/docker.github.io,ezrasilvera/swarm,fugr/swarm,mavenugo/swarm,mgoelzer/swarm,allencloud/swarm,docker-zh/docker.github.io,shubheksha/docker.github.io,shin-/docker.github.io,deis/swarm,sanscontext/docker.github.io,LuisBosquez/docker.github.io,menglingwei/denverdino.github.io,affo/swarm,gdevillele/docker.github.io,denverdino/denverdino.github.io,polyverse-security/swarm,echupriyanov/swarm,rutulpatel/swarm,affo/swarm,johnstep/docker.github.io,akerbis/armhf-swarm,troy0820/docker.github.io,MHBauer/swarm,pssahi/swarm,tranceitionalMynd/swarm,mountkin/swarm,menglingwei/denverdino.github.io,shubheksha/docker.github.io,CodeNow/swarm,sfsmithcha/swarm,errordeveloper/swarm,tangkun75/swarm,francisbouvier/swarm,yp-engineering/swarm,bsmr-docker/swarm,dims/swarm,bfirsh/swarm,raoofm/swarm,JimGalasyn/docker.github.io,vlajos/swarm,ezrasilvera/SwarmACLs,johnstep/docker.github.io,CodeNow/swarm,londoncalling/docker.github.io,aduermael/docker.github.io,londoncalling/docker.github.io,joeuo/docker.github.io,joeuo/docker.github.io,kunalkushwaha/swarm,denverdino/swarm,raoofm/swarm,vieux/swarm,bpradipt/swarm,sanscontext/docker.github.io,dims/swarm,shin-/docker.github.io,tnachen/swarm,joaofnfernandes/docker.github.io,auzias/swarm,phiroict/docker,johnstep/docker.github.io,thaJeztah/docker.github.io,rillig/docker.github.io,troy0820/docker.github.io,denverdino/denverdino.github.io,denverdino/docker.github.io,EderRoger/swarm,unodba/swarm,rajdeepd/swarm,shot/swarm,anweiss/docker.github.io,pdevine/swarm,mountkin/swarm,rancher/swarm,deis/swarm,londoncalling/docker.github.io,alexisbellido/docker.github.io,christophelec/swarm,CiaranCostello/swarm,shahankhatch/swarm,jdamick/swarm,ricca742/swarm,jzwlqx/denverdino.github.io,rancher/swarm,marsmensch/swarm,ealang/swarm,ch3lo/swarm,abronan/swarm