aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorMike Manewitz <mike.manewitz@gmail.com>2012-05-04 10:24:56 -0500
committerMike Manewitz <mike.manewitz@gmail.com>2012-05-04 10:24:56 -0500
commit544a10e428cda02e7baa38586ef266daaef20d89 (patch)
tree97ad6e0bda24bc8bcaf4c1c473a66f97b412cee6 /guides
parent3d9673d8f6fdb5e330b2a276df288834058a5260 (diff)
downloadrails-544a10e428cda02e7baa38586ef266daaef20d89.tar.gz
rails-544a10e428cda02e7baa38586ef266daaef20d89.tar.bz2
rails-544a10e428cda02e7baa38586ef266daaef20d89.zip
Editing log levels to reflect this doc: http://api.rubyonrails.org/classes/ActiveSupport/BufferedLogger/Severity.html
Diffstat (limited to 'guides')
-rw-r--r--guides/source/debugging_rails_applications.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/debugging_rails_applications.textile b/guides/source/debugging_rails_applications.textile
index 903ed59e7b..45fa4ada78 100644
--- a/guides/source/debugging_rails_applications.textile
+++ b/guides/source/debugging_rails_applications.textile
@@ -124,7 +124,7 @@ h4. Log Levels
When something is logged it's printed into the corresponding log if the log level of the message is equal or higher than the configured log level. If you want to know the current log level you can call the +Rails.logger.level+ method.
-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
+The available log levels are: +:debug+, +:info+, +:warn+, +:error+, +:fatal+, and +:unknown+, corresponding to the log level numbers from 0 up to 5 respectively. To change the default log level, use
<ruby>
config.log_level = :warn # In any environment initializer, or