A platform for community discussion. Free, open, simple.
DEV: Do not log `MimeNegotiation::InvalidType` to logster
David Taylorad25e4103d60
diff --git a/config/initializers/100-logster.rb b/config/initializers/100-logster.rbindex 951a48c3378..225e9728beb 100644--- a/config/initializers/100-logster.rb+++ b/config/initializers/100-logster.rb@@ -33,8 +33,12 @@ endif Rails.env.production?Logster.store.ignore = [- # honestly, Rails should not be logging this, its real noisy+ # These errors are caused by client requests. No need to log them.+ # Rails itself defines these as 'silent exceptions', but this does+ # not entirely prevent them from being logged+ # https://github.com/rails/rails/blob/f2caed1e/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#L39-L42/^ActionController::RoutingError \(No route matches/,+ /^ActionDispatch::Http::MimeNegotiation::InvalidType/,/^PG::Error: ERROR:\s+duplicate key/,