rails/rails — pull request #3747 by lest (2011-11-24 19:41:08+00:00)
Title: middlewares should have configurable logger

Allow setting logger for `ParamsParser` and `ShowExceptions` middlewares instead of hardcoded `defined?(Rails.logger) ? Rails.logger : Logger.new($stderr)`

/cc @josevalim