mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Revert "Merge pull request #16622 from matthewd/default-debug"
This reverts commit2602a49a86
, reversing changes made to5d7c105768
. The explicit default was introduced in21f6d72
, so apps created with Rails < 4 have the commented out version, which means that this change would break those apps.
This commit is contained in:
parent
3a804aab95
commit
402cc9f46a
2 changed files with 3 additions and 3 deletions
|
@ -118,7 +118,7 @@ module Rails
|
|||
end
|
||||
|
||||
def log_level
|
||||
@log_level ||= :debug
|
||||
@log_level ||= Rails.env.production? ? :info : :debug
|
||||
end
|
||||
|
||||
def colorize_logging
|
||||
|
|
|
@ -45,8 +45,8 @@ Rails.application.configure do
|
|||
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||
# config.force_ssl = true
|
||||
|
||||
# Decrease the log volume.
|
||||
# config.log_level = :info
|
||||
# Set to :info to decrease the log volume.
|
||||
config.log_level = :debug
|
||||
|
||||
# Prepend all log lines with the following tags.
|
||||
# config.log_tags = [ :subdomain, :uuid ]
|
||||
|
|
Loading…
Reference in a new issue