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
request.

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!
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to