Skip to content

Commit

Permalink
Merge pull request #25253 from nextcloud/fix/noid/log-noise
Browse files Browse the repository at this point in the history
silence log message
  • Loading branch information
MorrisJobke committed Jan 21, 2021
2 parents fffdc02 + ef0a3a9 commit 480b370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/user_ldap/lib/Access.php
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ public function dn2ocname($fdn, $ldapName = null, $isUser = true, &$newlyMapped
if (is_null($ldapName)) {
$ldapName = $this->readAttribute($fdn, $nameAttribute, $filter);
if (!isset($ldapName[0]) && empty($ldapName[0])) {
\OCP\Util::writeLog('user_ldap', 'No or empty name for ' . $fdn . ' with filter ' . $filter . '.', ILogger::INFO);
\OCP\Util::writeLog('user_ldap', 'No or empty name for ' . $fdn . ' with filter ' . $filter . '.', ILogger::DEBUG);
return false;
}
$ldapName = $ldapName[0];
Expand Down

0 comments on commit 480b370

Please sign in to comment.