Remove duplicate error logging
I haven't been able to figure out how to shut off the default non JSON error logging, so that the error is only logged in the JSON format instead of the default + JSON formats.
Hi!
You probably don't removed plug Plug.Logger from endpoint.ex in your project (3rd step in Installation).
The "Running <Endpoint> with Cowboy using
@johnkelly apart from @mizalewski's , check your Elixir Logger's log level. I had the same issue with regular logging still appearing in logs, only to realize I had :debug level logs enabled.
Make sure that:
- default logger is set to log only
:erroror:debuglevel, - plug_logger_json is set to log on
infolevel.