diff options
author | José Valim <jose.valim@gmail.com> | 2011-11-25 05:33:26 -0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-11-25 05:33:26 -0800 |
commit | 6f5fdf81799d3d7596ca3821b1c04ce2b36fcd87 (patch) | |
tree | c416c734c04790ccf7563fe48a02d7f61abfe41b /railties/lib | |
parent | 8ff8fa5e5fd9a615f2c63f809a2747a55cd4da15 (diff) | |
parent | cd9d28d6fdff6819dac3c6643fe882eb568b5a39 (diff) | |
download | rails-6f5fdf81799d3d7596ca3821b1c04ce2b36fcd87.tar.gz rails-6f5fdf81799d3d7596ca3821b1c04ce2b36fcd87.tar.bz2 rails-6f5fdf81799d3d7596ca3821b1c04ce2b36fcd87.zip |
Merge pull request #3747 from lest/middleware-logger
middlewares should have configurable logger
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/application.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index 847445d29f..25ff74506a 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -123,7 +123,8 @@ module Rails @env_config ||= super.merge({ "action_dispatch.parameter_filter" => config.filter_parameters, "action_dispatch.secret_token" => config.secret_token, - "action_dispatch.show_exceptions" => config.action_dispatch.show_exceptions + "action_dispatch.show_exceptions" => config.action_dispatch.show_exceptions, + "action_dispatch.logger" => Rails.logger }) end |