This is an automated email from the ASF dual-hosted git repository.

kfaraz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 7f7e6ca1e5c Fix excessive logging from druid-basic-security (#16767)
7f7e6ca1e5c is described below

commit 7f7e6ca1e5c8d14d254a27fd6a690cda5be75d69
Author: dave-mccowan <[email protected]>
AuthorDate: Sun Jul 21 23:03:00 2024 -0400

    Fix excessive logging from druid-basic-security (#16767)
    
    Fixes #16766
    
    Change log level from INFO to DEBUG when processing an empty user map
    during polling.  An empty user map is a normal situation for some
    authenticators (e.g. LDAP) and polling is frequent (1 minute by
    default.)
---
 .../db/cache/CoordinatorPollingBasicAuthenticatorCacheManager.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/extensions-core/druid-basic-security/src/main/java/org/apache/druid/security/basic/authentication/db/cache/CoordinatorPollingBasicAuthenticatorCacheManager.java
 
b/extensions-core/druid-basic-security/src/main/java/org/apache/druid/security/basic/authentication/db/cache/CoordinatorPollingBasicAuthenticatorCacheManager.java
index 0c7dff247c6..33450a3efcc 100644
--- 
a/extensions-core/druid-basic-security/src/main/java/org/apache/druid/security/basic/authentication/db/cache/CoordinatorPollingBasicAuthenticatorCacheManager.java
+++ 
b/extensions-core/druid-basic-security/src/main/java/org/apache/druid/security/basic/authentication/db/cache/CoordinatorPollingBasicAuthenticatorCacheManager.java
@@ -267,7 +267,7 @@ public class 
CoordinatorPollingBasicAuthenticatorCacheManager implements BasicAu
         writeUserMapToDisk(prefix, userMapBytes);
       }
     } else {
-      LOG.info("Empty cached serialized user map retrieved, authenticator - 
%s", prefix);
+      LOG.debug("Empty cached serialized user map retrieved, authenticator - 
%s", prefix);
     }
     return userMap;
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to