@@ -23,7 +23,7 @@ func (source *Source) SyncLdapGroupsToTeams(user *user_model.User, ldapTeamAdd m
23
23
org , err = models .GetOrgByName (orgName )
24
24
if err != nil {
25
25
// organization must be created before LDAP group sync
26
- log .Debug ("LDAP group sync: Could not find organisation %s: %v" , orgName , err )
26
+ log .Warn ("LDAP group sync: Could not find organisation %s: %v" , orgName , err )
27
27
continue
28
28
}
29
29
orgCache [orgName ] = org
@@ -42,7 +42,7 @@ func (source *Source) SyncLdapGroupsToTeams(user *user_model.User, ldapTeamAdd m
42
42
team , err = org .GetTeam (teamName )
43
43
if err != nil {
44
44
// team must be created before LDAP group sync
45
- log .Debug ("LDAP group sync: Could not find team %s: %v" , teamName , err )
45
+ log .Warn ("LDAP group sync: Could not find team %s: %v" , teamName , err )
46
46
continue
47
47
}
48
48
teamCache [orgName + teamName ] = team
@@ -71,7 +71,7 @@ func removeMappedMemberships(user *user_model.User, ldapTeamRemove map[string][]
71
71
org , err = models .GetOrgByName (orgName )
72
72
if err != nil {
73
73
// organization must be created before LDAP group sync
74
- log .Debug ("LDAP group sync: Could not find organisation %s: %v" , orgName , err )
74
+ log .Warn ("LDAP group sync: Could not find organisation %s: %v" , orgName , err )
75
75
continue
76
76
}
77
77
orgCache [orgName ] = org
@@ -82,7 +82,7 @@ func removeMappedMemberships(user *user_model.User, ldapTeamRemove map[string][]
82
82
team , err = org .GetTeam (teamName )
83
83
if err != nil {
84
84
// team must must be created before LDAP group sync
85
- log .Debug ("LDAP group sync: Could not find team %s: %v" , teamName , err )
85
+ log .Warn ("LDAP group sync: Could not find team %s: %v" , teamName , err )
86
86
continue
87
87
}
88
88
}
0 commit comments