From 170be1fbd54cf67ef312b4a87674d7b65e980d52 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Wed, 1 Nov 2017 00:55:05 +0300 Subject: [PATCH] Lower log level --- src/ejabberd_pkix.erl | 4 ++-- 1 file 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),