When running a phoenix server, I am getting [debug]
logs which I would like to not have (the logs in blue).
How can I alter my config
to get rid of these
You can set the log level in dev
to be higher than debug
which will make Logger not print any debug
messages. The level just above debug
is info
. You can set that by adding this to config/dev.exs
:
config :logger, level: :info
If you already have a config :logger
line, you can just add level: :info
at the end of it. You will have to restart your application for this to take effect.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With