From a769aedb449218ed618c0bdddc4668eb4c11b3ff Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 22 Mar 2015 09:26:33 +0000 Subject: 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 --- config/application.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/application.rb') 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')) -- cgit v1.2.3