From 2dccaeaa4859819e9a69e5180dace33cc9a2dadb Mon Sep 17 00:00:00 2001 From: Samar Abbas Date: Fri, 6 Jul 2018 16:02:20 -0700 Subject: [PATCH] include service tag on logs emitted by worker role --- service/worker/service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/worker/service.go b/service/worker/service.go index 477ba39f20f..7c540013797 100644 --- a/service/worker/service.go +++ b/service/worker/service.go @@ -66,10 +66,10 @@ func NewConfig() *Config { // Start is called to start the service func (s *Service) Start() { p := s.params - log := p.Logger + base := service.New(p) + log := base.GetLogger() log.Infof("%v starting", common.WorkerServiceName) - base := service.New(p) base.Start() s.metricsClient = base.GetMetricsClient()