Skip to content

Commit

Permalink
Make log_level explicit in production.rb template
Browse files Browse the repository at this point in the history
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
rosenfeld committed Apr 16, 2012
1 parent fd12fe6 commit 21f6d72
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -32,8 +32,8 @@
# 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


# See everything in the log (default is :info). # Set to :debug to see everything in the log.
# 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 ]
Expand Down

0 comments on commit 21f6d72

Please sign in to comment.