diff --git a/lib/plug/conn/utils.ex b/lib/plug/conn/utils.ex index d104106f..e1d9c4e1 100644 --- a/lib/plug/conn/utils.ex +++ b/lib/plug/conn/utils.ex @@ -343,7 +343,7 @@ defmodule Plug.Conn.Utils do error_code when error_code in 100..999 -> :ok = - Logger.warn( + Logger.warning( "invalid UTF-8 on #{context}, got byte #{byte} in position #{byte_position}", error: @utf8_error_code, context: context,