aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Rosenfeld Rosas <rr.rosas@gmail.com>2012-04-16 11:17:40 -0300
committerRodrigo Rosenfeld Rosas <rr.rosas@gmail.com>2012-04-16 11:17:40 -0300
commit21f6d723f4ffc232c62ac4ddeba4a6f67c4f51bb (patch)
treee46a047194e5a0146264de836b30c099162cbdd8
parentfd12fe65044b504554a36ae886f336d3ec554fe8 (diff)
downloadrails-21f6d723f4ffc232c62ac4ddeba4a6f67c4f51bb.tar.gz
rails-21f6d723f4ffc232c62ac4ddeba4a6f67c4f51bb.tar.bz2
rails-21f6d723f4ffc232c62ac4ddeba4a6f67c4f51bb.zip
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.
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
index 7b2c86db24..1c980e5ce6 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
+++ b/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 ]