So every time something requests something from my rails (2.x) app that
doesn’t actually map to a controller, I wind up with an error in my
production.log. ActionController::RoutingError or
ActionController::UnknownAction depending on the nature of the bad
Is there any easy way to tell Rails to keep these out of my logs? Or
put them in a different log? Or at least omit the backtrace (which is
not a useful backtrace, since it’s to Rails internals and is always the
same for an UnknownAction or RoutingError).
By the time rescue_action_in_public is called, it seems to be too late,
the thing has already been logged.
Thanks for any ideas!