Skip to content
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...
1 parent fd12fe6 commit 21f6d723f4ffc232c62ac4ddeba4a6f67c4f51bb @rosenfeld rosenfeld committed Apr 16, 2012
4 railties/lib/rails/generators/rails/app/templates/config/environments/
@@ -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 ]

1 comment on commit 21f6d72



Please sign in to comment.
Something went wrong with that request. Please try again.