fix(ldap): fix that logs of eldap will never be logged
This commit is contained in:
parent
bb6a95bae8
commit
6e73cfa2cf
|
@ -312,11 +312,12 @@ do_ldap_query(
|
||||||
{error, {unrecoverable_error, Reason}}
|
{error, {unrecoverable_error, Reason}}
|
||||||
end.
|
end.
|
||||||
|
|
||||||
log(Level, Format, Args) ->
|
%% Note: the value of the `_Level` here always is 2
|
||||||
|
log(_Level, Format, Args) ->
|
||||||
?SLOG(
|
?SLOG(
|
||||||
Level,
|
info,
|
||||||
#{
|
#{
|
||||||
msg => "ldap_log",
|
msg => "eldap_info",
|
||||||
log => io_lib:format(Format, Args)
|
log => io_lib:format(Format, Args)
|
||||||
}
|
}
|
||||||
).
|
).
|
||||||
|
|
Loading…
Reference in New Issue