Browse files

Changed the value that log_level takes to match the examples in the p…

…aragraph above
  • Loading branch information...
Oge Nnadi authored and fxn committed Jul 8, 2011
1 parent 3cb67e4 commit 2f5ebd9a0e30ad765db1047feeceaee434d17d4b
Showing with 1 addition and 1 deletion.
  1. +1 −1 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
-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

0 comments on commit 2f5ebd9

Please sign in to comment.