From a9e523ecf1e20bc3c13f1c8ff1b1f703dbdd0c4f Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Wed, 31 Oct 2018 20:42:18 -0700 Subject: [PATCH] watchtower/server/server: add start/stop logging --- watchtower/server/server.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/watchtower/server/server.go b/watchtower/server/server.go index 274f06d5..6bc8ac0d 100644 --- a/watchtower/server/server.go +++ b/watchtower/server/server.go @@ -108,8 +108,12 @@ func (s *Server) Start() error { return nil } + log.Infof("Starting watchtower server") + s.connMgr.Start() + log.Infof("Watchtower server started successfully") + return nil } @@ -120,11 +124,15 @@ func (s *Server) Stop() error { return nil } + log.Infof("Stopping watchtower server") + s.connMgr.Stop() close(s.quit) s.wg.Wait() + log.Infof("Watchtower server stopped successfully") + return nil }