1
0
Fork 0
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 commit 2602a49a86, reversing
changes made to 5d7c105768.

The explicit default was introduced in 21f6d72, 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:
Godfrey Chan 2014-11-17 03:42:00 -08:00
parent 3a804aab95
commit 402cc9f46a
2 changed files with 3 additions and 3 deletions

View file

@ -118,7 +118,7 @@ module Rails
end
def log_level
@log_level ||= :debug
@log_level ||= Rails.env.production? ? :info : :debug
end
def colorize_logging

View file

@ -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 ]