elixir-plug / plug_cowboy

Plug adapter for the Cowboy web server
Other
243 stars 48 forks source link

Allow to configure whether all errors should be logged #68

Closed arkgil closed 3 years ago

arkgil commented 3 years ago

The configuration is done via application env, since there is no way to pass options to Logger translators. I called the option log_all, but it might be limiting if you'd like to expand this to allow more fine-grained filtering in the future.

Closes #67

josevalim commented 3 years ago

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart: