aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorSammy Larbi <sam@codeodor.com>2015-01-06 08:52:00 -0600
committerSammy Larbi <sam@codeodor.com>2015-01-06 08:52:00 -0600
commitf0466b619bf5f0d79f99962f9e0e242d2ffbd699 (patch)
tree7c07c338f5eb1ac4412b17063bc39064cd05a05f /guides/source
parent52f641264b1325a4c2bdce7971b14524bd4905f1 (diff)
downloadrails-f0466b619bf5f0d79f99962f9e0e242d2ffbd699.tar.gz
rails-f0466b619bf5f0d79f99962f9e0e242d2ffbd699.tar.bz2
rails-f0466b619bf5f0d79f99962f9e0e242d2ffbd699.zip
Add log_level options to configuration guide
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/configuring.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 5baab8a4b5..622f79a50f 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -110,7 +110,7 @@ numbers. New applications filter out passwords by adding the following `config.f
* `config.log_formatter` defines the formatter of the Rails logger. This option defaults to an instance of `ActiveSupport::Logger::SimpleFormatter` for all modes except production, where it defaults to `Logger::Formatter`.
-* `config.log_level` defines the verbosity of the Rails logger. This option defaults to `:debug` for all environments.
+* `config.log_level` defines the verbosity of the Rails logger. This option defaults to `:debug` for all environments. The available log levels are: :debug, :info, :warn, :error, :fatal, and :unknown.
* `config.log_tags` accepts a list of methods that the `request` object responds to. This makes it easy to tag log lines with debug information like subdomain and request id - both very helpful in debugging multi-user production applications.