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:
commit
2602a49a86
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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 ]
|
||||||
|
|
Loading…
Reference in a new issue