Less logging with successful authenticated upstreams

This commit is contained in:
Willem Toorop 2018-01-04 16:15:50 +01:00
parent 540735a956
commit 2471f43dea
1 changed files with 2 additions and 6 deletions

View File

@ -1120,12 +1120,8 @@ tls_do_handshake(getdns_upstream *upstream)
else
_getdns_upstream_log(upstream,
GETDNS_LOG_UPSTREAM_STATS, GETDNS_LOG_DEBUG,
"%-40s : Verify passed : Transport=TLS - %s - "
"(%d) \"%s\"\n", upstream->addr_str,
( upstream->tls_fallback_ok
? "Allowed because of Opportunistic profile"
: "*Failure*" ), verify_result,
X509_verify_cert_error_string(verify_result));
"%-40s : Verify passed : Transport=TLS\n",
upstream->addr_str);
if (upstream->tls_auth_state == GETDNS_AUTH_FAILED
&& !upstream->tls_fallback_ok)