From: Alfred Schmid Date: Mon, 3 Feb 2014 09:30:58 +0000 (+0100) Subject: Added logging for empty group sync. X-Git-Tag: v1.4.0~114^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=03c0191b65c68dc6be3da0e0056bcb3cbc6e9cef;p=gitblit.git Added logging for empty group sync. --- diff --git a/src/main/java/com/gitblit/auth/LdapAuthProvider.java b/src/main/java/com/gitblit/auth/LdapAuthProvider.java index b2084595..8d5f2140 100644 --- a/src/main/java/com/gitblit/auth/LdapAuthProvider.java +++ b/src/main/java/com/gitblit/auth/LdapAuthProvider.java @@ -439,6 +439,7 @@ public class LdapAuthProvider extends UsernamePasswordAuthenticationProvider { } private void getEmptyTeamsFromLdap(LDAPConnection ldapConnection) { + logger.info("Start fetching empty teams form ldap."); String groupBase = settings.getString(Keys.realm.ldap.groupBase, ""); String groupMemberPattern = settings.getString(Keys.realm.ldap.groupEmptyMemberPattern, "(&(objectClass=group)(!(member=*)))"); @@ -457,6 +458,7 @@ public class LdapAuthProvider extends UsernamePasswordAuthenticationProvider { } } } + logger.info("Finished fetching empty teams form ldap."); } private TeamModel createTeamFromLdap(SearchResultEntry teamEntry) {