diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-04-12 13:46:13 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-04-12 13:46:13 +0530 |
commit | ab4361698a7c632d368fa8259b7287e86345887a (patch) | |
tree | 0fa44c43bbc8959848a147453b2e365e609eee07 /guides/source | |
parent | 6ab0637da83429187b7191fac87cdce327e656cb (diff) | |
download | rails-ab4361698a7c632d368fa8259b7287e86345887a.tar.gz rails-ab4361698a7c632d368fa8259b7287e86345887a.tar.bz2 rails-ab4361698a7c632d368fa8259b7287e86345887a.zip |
[ci skip] Add some missing commas
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/configuring.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 0838e2d74e..50487a5356 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -117,9 +117,9 @@ defaults to `:debug` for all environments. The available log levels are: `:debug * `config.log_tags` accepts a list of: methods that the `request` object responds to, a `Proc` that accepts the `request` object, or something that responds to `to_s`. 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. * `config.logger` is the logger that will be used for `Rails.logger` and any related Rails logging such as `ActiveRecord::Base.logger`. It defaults to an instance of `ActiveSupport::TaggedLogging` that wraps an instance of `ActiveSupport::Logger` which outputs a log to the `log/` directory. You can supply a custom logger, to get full compatibility you must follow these guidelines: - * To support a formatter you must manually assign a formatter from the `config.log_formatter` value to the logger. + * To support a formatter, you must manually assign a formatter from the `config.log_formatter` value to the logger. * To support tagged logs, the log instance must be wrapped with `ActiveSupport::TaggedLogging`. - * To support silencing the logger must include `LoggerSilence` and `ActiveSupport::LoggerThreadSafeLevel` modules. The `ActiveSupport::Logger` class already includes these modules. + * To support silencing, the logger must include `LoggerSilence` and `ActiveSupport::LoggerThreadSafeLevel` modules. The `ActiveSupport::Logger` class already includes these modules. ```ruby class MyLogger < ::Logger |