appcues / mojito

An easy-to-use Elixir HTTP client, built on the low-level Mint library.
https://hexdocs.pm/mojito/Mojito.html
MIT License
349 stars 34 forks source link

Turning off the debug logger #25

Closed bcardarella closed 5 years ago

bcardarella commented 5 years ago

Can the debug logger be turned off? The responses are flooding my console

gamache commented 5 years ago

Fixed in 0.4.0.

heyitsjames commented 4 years ago

I'm still seeing the debug output in my console (using .0.6.1). Anything I can do about this?

bcardarella commented 4 years ago

The debugs are now coming from Mint. I honestly don't understand why they're being used considering how incredibly noisy they are. I haven't yet advocated to turn them off in Mint yet but you can temporarily turn them off with Logger.configure(level: :info)