From cf1a0ca76bfaa8dc6b6c3ad54399851461228521 Mon Sep 17 00:00:00 2001 From: Sir Darkrengarius Date: Tue, 28 Jan 2020 15:36:37 +0300 Subject: [PATCH] Add logging --- pkg/router/route_group.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/router/route_group.go b/pkg/router/route_group.go index e9b1fcd31..f26706b1c 100644 --- a/pkg/router/route_group.go +++ b/pkg/router/route_group.go @@ -319,6 +319,7 @@ func (rg *RouteGroup) keepAliveLoop(interval time.Duration) { for { select { case <-rg.closed: + rg.logger.Infoln("Route group closed, stopping keep-alive loop") return case <-ticker.C: lastSent := time.Unix(0, atomic.LoadInt64(&rg.lastSent))