diff options
author | Oge Nnadi <ogechi.nnadi@digitalscientists.com> | 2011-07-08 07:57:16 -0700 |
---|---|---|
committer | Oge Nnadi <ogechi.nnadi@digitalscientists.com> | 2011-07-08 07:57:16 -0700 |
commit | 2b8c87404cb48b68498926d086f3f776c6c8a9a5 (patch) | |
tree | f06b64d356679be0e5ec13492ab2c02d7e59679b | |
parent | d02726c24c6278188634c87112c1f831ff3f4644 (diff) | |
download | rails-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
-rw-r--r-- | railties/guides/source/debugging_rails_applications.textile | 2 |
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> |