From 85cc09cc5a6b3121f4b673d994dd5f3d78a6d541 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Fri, 12 Mar 2021 10:45:17 -0500 Subject: [PATCH] Log tuning. (#204) --- router/forwarder/scanner.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/router/forwarder/scanner.go b/router/forwarder/scanner.go index 1148ab2ca..877c02b8e 100644 --- a/router/forwarder/scanner.go +++ b/router/forwarder/scanner.go @@ -72,7 +72,7 @@ func (self *Scanner) run() { func (self *Scanner) scan() { sessions := self.sessions.sessions.Items() - logrus.Infof("scanning [%d] sessions", len(sessions)) + logrus.Debugf("scanning [%d] sessions", len(sessions)) var idleSessionIds []string for sessionId, ft := range sessions { @@ -83,7 +83,7 @@ func (self *Scanner) scan() { } if len(idleSessionIds) > 0 { - logrus.Infof("found [%d] idle sessions, confirming with controller", len(idleSessionIds)) + logrus.Debugf("found [%d] idle sessions, confirming with controller", len(idleSessionIds)) if self.ctrl != nil { confirm := &ctrl_pb.SessionConfirmation{}