Skip to content

Commit

Permalink
Use Logger.warning
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed May 17, 2024
1 parent dc832ba commit 8a9d6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/postgrex/protocol.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 8a9d6d1

Please sign in to comment.