Skip to content

Commit

Permalink
Merge pull request rails#16622 from matthewd/default-debug
Browse files Browse the repository at this point in the history
Don't fight against ourselves for the default log level
  • Loading branch information
matthewd committed Aug 22, 2014
2 parents 5d7c105 + 523e279 commit 2602a49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion railties/lib/rails/application/configuration.rb
Expand Up @@ -117,7 +117,7 @@ def database_configuration
end

def log_level
@log_level ||= Rails.env.production? ? :info : :debug
@log_level ||= :debug
end

def colorize_logging
Expand Down
Expand Up @@ -44,8 +44,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

# Set to :info to decrease the log volume.
config.log_level = :debug
# Decrease the log volume.
# config.log_level = :info

# Prepend all log lines with the following tags.
# config.log_tags = [ :subdomain, :uuid ]
Expand Down

0 comments on commit 2602a49

Please sign in to comment.