1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #16622 from matthewd/default-debug

Don't fight against ourselves for the default log level
This commit is contained in:
Matthew Draper 2014-08-23 00:28:32 +09:30
commit 2602a49a86
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -44,8 +44,8 @@ Rails.application.configure do
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true # config.force_ssl = true
# Set to :info to decrease the log volume. # Decrease the log volume.
config.log_level = :debug # config.log_level = :info
# Prepend all log lines with the following tags. # Prepend all log lines with the following tags.
# config.log_tags = [ :subdomain, :uuid ] # config.log_tags = [ :subdomain, :uuid ]