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.
# 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 ]
Expand Down

1 comment on commit 21f6d72

@tilsammans
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smart!

Please sign in to comment.