diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2015-01-18 14:05:35 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2015-01-18 14:05:35 +0000 |
commit | 3a1e7106f4c841a94ee211ee749640819851438f (patch) | |
tree | 45e9e0e39b99cbbb3032fbb8be697c67c3c2dd84 /config/environments | |
parent | 4dfc0f04ad383a63e13027734a3da06cff24ef9c (diff) | |
download | redmine-3a1e7106f4c841a94ee211ee749640819851438f.tar.gz redmine-3a1e7106f4c841a94ee211ee749640819851438f.zip |
prevent "config.log_level" DEPRECATION WARNING
DEPRECATION WARNING: You did not specify a `log_level` in `production.rb`.
Currently, the default value for `log_level` is `:info` for the production environment
and `:debug` in all other environments.
In Rails 5 the default value will be unified to `:debug` across all environments.
To preserve the current setting, add the following line to your `production.rb`:
config.log_level = :info
git-svn-id: http://svn.redmine.org/redmine/trunk@13899 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/production.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 85cd3890c..59e7a3757 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,6 +1,8 @@ Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb + config.log_level = :info + # Code is not reloaded between requests. config.cache_classes = true |