chore(logs): skip HEAD requests in endpoint telemetry log
This commit is contained in:
parent
5fd37a17fd
commit
f9af347485
1 changed files with 1 additions and 0 deletions
|
|
@ -60,5 +60,6 @@ defmodule MicrowavepropWeb.Endpoint do
|
||||||
|
|
||||||
@doc false
|
@doc false
|
||||||
def log_level(%{path_info: ["health"]}), do: false
|
def log_level(%{path_info: ["health"]}), do: false
|
||||||
|
def log_level(%{method: "HEAD"}), do: false
|
||||||
def log_level(_conn), do: :info
|
def log_level(_conn), do: :info
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue