From 2b8c87404cb48b68498926d086f3f776c6c8a9a5 Mon Sep 17 00:00:00 2001
From: Oge Nnadi <ogechi.nnadi@digitalscientists.com>
Date: Fri, 8 Jul 2011 07:57:16 -0700
Subject: Changed the value that log_level takes to match the examples in the
 paragraph above

---
 railties/guides/source/debugging_rails_applications.textile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'railties/guides/source/debugging_rails_applications.textile')

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>
 
-- 
cgit v1.2.3

