diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-11-01 00:55:05 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-11-01 00:55:05 +0300 |
commit | 170be1fbd54cf67ef312b4a87674d7b65e980d52 (patch) | |
tree | 6b097ac0dde49da06c67c38ce0da47d592c10080 /src/ejabberd_pkix.erl | |
parent | Introduce 'certfiles' global option (diff) |
Lower log level
Diffstat (limited to 'src/ejabberd_pkix.erl')
-rw-r--r-- | src/ejabberd_pkix.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ejabberd_pkix.erl b/src/ejabberd_pkix.erl index 949424f20..2f065e1f3 100644 --- a/src/ejabberd_pkix.erl +++ b/src/ejabberd_pkix.erl @@ -348,8 +348,8 @@ build_chain_and_check(State) -> lists:foreach( fun({Cert, Why}) -> Path = maps:get(Cert, State#state.certs), - ?ERROR_MSG("Failed to validate certificate from ~s: ~s", - [Path, format_error(Why)]) + ?WARNING_MSG("Failed to validate certificate from ~s: ~s", + [Path, format_error(Why)]) end, Errors); {error, Cert, Why} -> Path = maps:get(Cert, State#state.certs), |