https://bugs.openldap.org/show_bug.cgi?id=9710
Issue ID: 9710 Summary: integrated lastbind debug statement at ANY level Product: OpenLDAP Version: 2.5.7 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: quanah@openldap.org Target Milestone: ---
For some reason, a debug statement for the newly integrated lastbind code is logging at ANY level, which seems incorrect:
Debug( LDAP_DEBUG_ANY, "fe_op_lastbind: " "old pwdLastSuccess value=%s %lds ago\n", a->a_nvals[0].bv_val, bindtime == (time_t)-1 ? -1 : op->o_time - bindtime );
This results in log lines with every bind like:
Sep 30 01:41:42 ub18 slapd[5980]: fe_op_lastbind: old pwdLastSuccess value=20210930014121Z 21s ago
I think a different loglevel should be in use here.