From bd0ef69ececac3bd695a8304a0f776fbd105a4d7 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 17 Jan 2023 11:12:22 +0100 Subject: [PATCH] outposts/ldap: decrease verbosity Signed-off-by: Jens Langhammer --- internal/outpost/ldap/bind/memory/memory.go | 4 ++-- internal/outpost/ldap/search/memory/memory.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/outpost/ldap/bind/memory/memory.go b/internal/outpost/ldap/bind/memory/memory.go index 379cc44bc..aa6abbef6 100644 --- a/internal/outpost/ldap/bind/memory/memory.go +++ b/internal/outpost/ldap/bind/memory/memory.go @@ -31,12 +31,12 @@ func NewSessionBinder(si server.LDAPServerInstance, oldBinder bind.Binder) *Sess if oldSb, ok := oldBinder.(*SessionBinder); ok { sb.DirectBinder = oldSb.DirectBinder sb.sessions = oldSb.sessions - sb.log.Info("re-initialised session binder") + sb.log.Debug("re-initialised session binder") } else { sb.sessions = ttlcache.New(ttlcache.WithDisableTouchOnHit[Credentials, ldap.LDAPResultCode]()) sb.DirectBinder = *direct.NewDirectBinder(si) go sb.sessions.Start() - sb.log.Info("initialised session binder") + sb.log.Debug("initialised session binder") } return sb } diff --git a/internal/outpost/ldap/search/memory/memory.go b/internal/outpost/ldap/search/memory/memory.go index bc059f392..02885204c 100644 --- a/internal/outpost/ldap/search/memory/memory.go +++ b/internal/outpost/ldap/search/memory/memory.go @@ -31,7 +31,7 @@ func NewMemorySearcher(si server.LDAPServerInstance) *MemorySearcher { si: si, log: log.WithField("logger", "authentik.outpost.ldap.searcher.memory"), } - ms.log.Info("initialised memory searcher") + ms.log.Debug("initialised memory searcher") ms.users = ms.FetchUsers() ms.groups = ms.FetchGroups() return ms