diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-22 09:26:33 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-22 09:26:33 +0000 |
commit | a769aedb449218ed618c0bdddc4668eb4c11b3ff (patch) | |
tree | b409b037e3a44419f55dd1b3f9e1c212f4e77983 /config/application.rb | |
parent | ca2be43456cd94260c7dd79d55d0de36d593d8b3 (diff) | |
download | redmine-a769aedb449218ed618c0bdddc4668eb4c11b3ff.tar.gz redmine-a769aedb449218ed618c0bdddc4668eb4c11b3ff.zip |
Fixed that setting config.logger.level in additional_environment.rb has no effect (#19405).
git-svn-id: http://svn.redmine.org/redmine/trunk@14155 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index 906b06785..0f75247c1 100644 --- a/config/application.rb +++ b/config/application.rb @@ -59,6 +59,10 @@ module RedmineApp # for more options (same options as config.cache_store). config.redmine_search_cache_store = :memory_store + # Configure log level here so that additional environment file + # can change it (environments/ENV.rb would take precedence over it) + config.log_level = Rails.env.production? ? :info : :debug + config.session_store :cookie_store, :key => '_redmine_session' if File.exists?(File.join(File.dirname(__FILE__), 'additional_environment.rb')) |