How to configure Phoenix.LiveView.Socket logging levels

You can have more control over which routes get logged by using an MFA (module-function-arity) tuple.

plug Plug.Telemetry, event_prefix: [:phoenix, :endpoint], log: {__MODULE__, :log_level, []}

@quiet_paths ["health", "healthz", "healthcheck", "favicon.ico"]
def log_level(%{path_info: [head | _]}) when head in @quiet_paths, do: false
def log_level(_), do: :info 

This would do the usual logging except for paths /health, /healthz, etc.