Olivér Szabó created AMBARI-14744:
-------------------------------------

             Summary: Ldap: unnecessary logging during sync
                 Key: AMBARI-14744
                 URL: https://issues.apache.org/jira/browse/AMBARI-14744
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.2.0
            Reporter: Olivér Szabó
            Assignee: Olivér Szabó
             Fix For: 2.4.0


During ambari sync-ldap (it can take long time) user see this log for every 
ldap query
{code:java}
19 Jan 2016 00:02:54,825  INFO [pool-8-thread-1] LdapTemplate:1262 - The 
returnObjFlag of supplied SearchControls is not set but a ContextMapper is used 
- setting flag to true
19 Jan 2016 00:02:54,951  INFO [pool-8-thread-1] LdapTemplate:1262 - The 
returnObjFlag of supplied SearchControls is not set but a ContextMapper is used 
- setting flag to true
19 Jan 2016 00:02:55,076  INFO [pool-8-thread-1] LdapTemplate:1262 - The 
returnObjFlag of supplied SearchControls is not set but a ContextMapper is used 
- setting flag to true
19 Jan 2016 00:02:55,200  INFO [pool-8-thread-1] LdapTemplate:1262 - The 
returnObjFlag of supplied SearchControls is not set but a ContextMapper is used 
- setting flag to true
...
{code}

That is because one of the property is not set in SearchControls, and it tries 
to use the default one. For hide this log: add this property to SearchControls



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to