aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/debugging_rails_applications.textile
diff options
context:
space:
mode:
authorOge Nnadi <ogechi.nnadi@digitalscientists.com>2011-07-08 07:57:16 -0700
committerOge Nnadi <ogechi.nnadi@digitalscientists.com>2011-07-08 07:57:16 -0700
commit2b8c87404cb48b68498926d086f3f776c6c8a9a5 (patch)
treef06b64d356679be0e5ec13492ab2c02d7e59679b /railties/guides/source/debugging_rails_applications.textile
parentd02726c24c6278188634c87112c1f831ff3f4644 (diff)
downloadrails-2b8c87404cb48b68498926d086f3f776c6c8a9a5.tar.gz
rails-2b8c87404cb48b68498926d086f3f776c6c8a9a5.tar.bz2
rails-2b8c87404cb48b68498926d086f3f776c6c8a9a5.zip
Changed the value that log_level takes to match the examples in the paragraph above
Diffstat (limited to 'railties/guides/source/debugging_rails_applications.textile')
-rw-r--r--railties/guides/source/debugging_rails_applications.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/debugging_rails_applications.textile b/railties/guides/source/debugging_rails_applications.textile
index 1ab40cef4d..89ba3b057a 100644
--- a/railties/guides/source/debugging_rails_applications.textile
+++ b/railties/guides/source/debugging_rails_applications.textile
@@ -127,7 +127,7 @@ When something is logged it's printed into the corresponding log if the log leve
The available log levels are: +:debug+, +:info+, +:warn+, +:error+, and +:fatal+, corresponding to the log level numbers from 0 up to 4 respectively. To change the default log level, use
<ruby>
-config.log_level = Logger::WARN # In any environment initializer, or
+config.log_level = :warn # In any environment initializer, or
Rails.logger.level = 0 # at any time
</ruby>