You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Olivér Szabó (JIRA)" <ji...@apache.org> on 2016/01/20 17:33:39 UTC

[jira] [Updated] (AMBARI-14744) Ldap: unnecessary logging during sync

     [ https://issues.apache.org/jira/browse/AMBARI-14744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivér Szabó updated AMBARI-14744:
----------------------------------
    Attachment: AMBARI-14744.patch

> 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
>
>         Attachments: AMBARI-14744.patch
>
>
> 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)