Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make log_level explicit in production.rb template

The 'production' environment name is currently checked for setting up
the default log_level to 'info' but that won't work if the environment
is copied to staging.rb, for instance. Better to have it explicitly set.
  • Loading branch information...
commit 21f6d723f4ffc232c62ac4ddeba4a6f67c4f51bb 1 parent fd12fe6
@rosenfeld rosenfeld authored
View
4 railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
@@ -32,8 +32,8 @@
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true
- # See everything in the log (default is :info).
- # config.log_level = :debug
+ # Set to :debug to see everything in the log.
+ config.log_level = :info
# Prepend all log lines with the following tags.
# config.log_tags = [ :subdomain, :uuid ]
Please sign in to comment.
Something went wrong with that request. Please try again.