From 03c0191b65c68dc6be3da0e0056bcb3cbc6e9cef Mon Sep 17 00:00:00 2001 From: Alfred Schmid Date: Mon, 3 Feb 2014 10:30:58 +0100 Subject: Added logging for empty group sync. --- src/main/java/com/gitblit/auth/LdapAuthProvider.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/com') 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) { -- cgit v1.2.3