xsteve
How to configure Phoenix.LiveView.Socket logging levels
I have a deployed Phoenix LiveView App.
When I start it with a shell, I see output like this:
10:43:25.306 request_id=F_xtup9AcaphOX8AAEvB [info] GET /some-page/
10:43:25.312 request_id=F_xtup9AcaphOX8AAEvB [info] Sent 200 in 6ms
10:46:14.756 [info] CONNECTED TO Phoenix.LiveView.Socket in 42µs
Transport: :websocket
Serializer: Phoenix.Socket.V2.JSONSerializer
Parameters: %{“_csrf_token” => “…”, “_live_referer” => “undefined”, “_mounts” => “0”, “_track_static” => %{“0” => “webpage.com”, “1” => “webpage.com”}, “vsn” => “2.0.0”}
How to configure (turn off) this messages?
Is there a drawback when I turn these off? Do I miss some important stuff?
Can the debug levels be tweaked in the shell at runtime?
First Post!
slouchpie
I am not at my computer but read this: Phoenix.Logger — Phoenix v1.8.8
Search that page for the word “level”
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








