From 8f54f0b3ea0524099d233bbf722f47824cbf163d Mon Sep 17 00:00:00 2001 From: Michele Meloni Date: Tue, 7 Dec 2021 16:23:07 +0100 Subject: [PATCH] chore(pkg/server/sessions): polish logger call Signed-off-by: Michele Meloni --- pkg/server/sessions/manager.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/server/sessions/manager.go b/pkg/server/sessions/manager.go index c29cf6746a..4619313297 100644 --- a/pkg/server/sessions/manager.go +++ b/pkg/server/sessions/manager.go @@ -225,8 +225,7 @@ func (sm *manager) expireSessions() { sm.DeleteSession(ID) sm.logger.Debugf("removed Dead session %s", ID) } - sm.logger.Debugf("opened sessions count: %d", len(sm.sessions)) - sm.logger.Debugf("idle sessions count: %d", idleSessCount) + sm.logger.Debugf("Open sessions count: %d\nIdle sessions count: %d\n", len(sm.sessions), idleSessCount) } }