aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Pinto <tapgyn@gmail.com>2014-11-01 12:52:45 -0200
committerThiago Pinto <tapgyn@gmail.com>2014-11-01 12:52:45 -0200
commit102ba5fd69f18c7d58d70247090fbdeadfc53ca1 (patch)
treeb360b3d9e2fe206229c4041097bc91f3e3043637
parent9614ecd2e752ab16f586b9820c8e13776344b257 (diff)
downloadrails-102ba5fd69f18c7d58d70247090fbdeadfc53ca1.tar.gz
rails-102ba5fd69f18c7d58d70247090fbdeadfc53ca1.tar.bz2
rails-102ba5fd69f18c7d58d70247090fbdeadfc53ca1.zip
development.rb should mention available log levels
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
index d8326d1728..10787646b9 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
+++ b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
@@ -1,6 +1,11 @@
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
+
+ # Available log levels are :debug, :info, :warn, :error, :fatal, and :unknown.
+ # Learn more at http://guides.rubyonrails.org/debugging_rails_applications.html#log-levels
+ config.log_level = :debug
+
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web server when you make code changes.