diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-07-11 16:01:49 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-07-11 16:02:06 -0300 |
commit | 55f8f63ad820220523ca0f3837e03a5ba20ead32 (patch) | |
tree | 76fce44705421a165d60c02cd386d3ffd34e1b5d /guides | |
parent | 424d840efb7dad40284c158715a479235269c7ae (diff) | |
download | rails-55f8f63ad820220523ca0f3837e03a5ba20ead32.tar.gz rails-55f8f63ad820220523ca0f3837e03a5ba20ead32.tar.bz2 rails-55f8f63ad820220523ca0f3837e03a5ba20ead32.zip |
Documment config.log_formatter added on 51aeae91
[ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/configuring.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 9bb5d621fc..2f5444c763 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -103,6 +103,8 @@ numbers. New applications filter out passwords by adding the following `config.f * `config.force_ssl` forces all requests to be under HTTPS protocol by using `ActionDispatch::SSL` middleware. +* `config.log_formatter` defines the formatter of the Rails logger. This option defaults to a 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 modes except production, where it defaults to `:info`. * `config.log_tags` accepts a list of methods that respond to `request` object. 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. |