The log_level(%{method: \"HEAD\"}) clause never matched because
Plug.Head rewrites the method to \"GET\" before Plug.Telemetry's
register_before_send callback fires, so by log time conn.method is
\"GET\". Stash the original method in private before Plug.Head runs
and key the filter off it.
|
||
|---|---|---|
| .. | ||
| controllers | ||
| live | ||
| plugs | ||
| analytics_test.exs | ||
| live_table_footer_test.exs | ||
| metrics_log_suppression_test.exs | ||
| skew_t_property_test.exs | ||
| skew_t_test.exs | ||
| user_auth_test.exs | ||