From 8a9d6d11f87e3bdfea0b5a3cf89ccbf293907111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Fri, 17 May 2024 14:37:18 +0200 Subject: [PATCH] Use Logger.warning --- lib/postgrex/protocol.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/postgrex/protocol.ex b/lib/postgrex/protocol.ex index ee5eebe8..db989e43 100644 --- a/lib/postgrex/protocol.ex +++ b/lib/postgrex/protocol.ex @@ -92,7 +92,7 @@ defmodule Postgrex.Protocol do {nil, opts} {true, opts} -> - IO.warn( + Logger.warning( "setting ssl: true on your database connection offers only limited protection, " <> "as the hostname is not verified. Set \"ssl: [cacertfile: path/to/file]\" instead" )