Переглянути джерело

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
tags/3.1.0
Jean-Philippe Lang 9 роки тому
джерело
коміт
a769aedb44
2 змінених файлів з 4 додано та 2 видалено
  1. 4
    0
      config/application.rb
  2. 0
    2
      config/environments/production.rb

+ 4
- 0
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'))

+ 0
- 2
config/environments/production.rb Переглянути файл

@@ -1,8 +1,6 @@
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


Завантаження…
Відмінити
Зберегти