First of all, thank you very much your time considering my request.
Right now all exceptions reported by
ActionDispatch::DebugExceptions are logged with
fatal level. As it can be seen here: rails/debug_exceptions.rb at 5a4a316246124797b1cf55b2958a388d177eb3cd · rails/rails · GitHub
This affects directly the way some widely used monitoring tools report these exceptions, giving no room to fine tune the exception level. A RoutingError for example, might not be considered fatal to many teams.
Since not all errors contained in
ActionDispath::ExceptionWrapper should necessarily be considered
I propose to submit a pull request which allows the development team to configure specific log levels for specific exceptions, and fallback to
fatal in case no configuration exists for those.
Looking forward to hearing back from you.