fix(ldap): lower the log level of LDAB to `debug`

This commit is contained in:
firest 2024-03-13 15:06:16 +08:00
parent 20cd47ac89
commit e9febf231f
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{application, emqx_ldap, [ {application, emqx_ldap, [
{description, "EMQX LDAP Connector"}, {description, "EMQX LDAP Connector"},
{vsn, "0.1.7"}, {vsn, "0.1.8"},
{registered, []}, {registered, []},
{applications, [ {applications, [
kernel, kernel,

View File

@ -327,7 +327,7 @@ do_ldap_query(
mk_log_func(LogTag) -> mk_log_func(LogTag) ->
fun(_Level, Format, Args) -> fun(_Level, Format, Args) ->
?SLOG( ?SLOG(
info, debug,
#{ #{
msg => LogTag, msg => LogTag,
log => io_lib:format(Format, [redact_ldap_log(Arg) || Arg <- Args]) log => io_lib:format(Format, [redact_ldap_log(Arg) || Arg <- Args])