chore(logs): skip HEAD requests in endpoint telemetry log

This commit is contained in:
Graham McIntire 2026-04-18 10:22:48 -05:00
parent 5fd37a17fd
commit f9af347485
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -60,5 +60,6 @@ defmodule MicrowavepropWeb.Endpoint do
@doc false
def log_level(%{path_info: ["health"]}), do: false
def log_level(%{method: "HEAD"}), do: false
def log_level(_conn), do: :info
end