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" )