don't log info ssl messages
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Fri, 21 Feb 2020 11:28:16 +0000 (14:28 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Fri, 21 Feb 2020 11:28:16 +0000 (14:28 +0300)
lib/pleroma/http/adapter/gun.ex

index fc40b324a748b2b23942c4bf6e9df1857ba41ea7..0a6872ad65a25c4f917a792859702e0fc5863728 100644 (file)
@@ -58,7 +58,8 @@ defmodule Pleroma.HTTP.Adapter.Gun do
         depth: 20,
         reuse_sessions: false,
         verify_fun:
-          {&:ssl_verify_hostname.verify_fun/3, [check_hostname: Adapter.domain_or_fallback(host)]}
+          {&:ssl_verify_hostname.verify_fun/3, [check_hostname: Adapter.domain_or_fallback(host)]},
+        log_level: :warning
       ]
     ]