mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
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
This commit is contained in:
parent
4dfc0f04ad
commit
3a1e7106f4
@ -1,6 +1,8 @@
|
|||||||
Rails.application.configure do
|
Rails.application.configure do
|
||||||
# Settings specified here will take precedence over those in config/application.rb
|
# Settings specified here will take precedence over those in config/application.rb
|
||||||
|
|
||||||
|
config.log_level = :info
|
||||||
|
|
||||||
# Code is not reloaded between requests.
|
# Code is not reloaded between requests.
|
||||||
config.cache_classes = true
|
config.cache_classes = true
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user