diff options
author | Zachary Scott <e@zzak.io> | 2014-09-21 12:43:31 +0900 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-09-21 12:43:31 +0900 |
commit | 5f8c1b197d2ccece0e08baba84cca9bca44c9750 (patch) | |
tree | fa2236206484cb9930477c6a5227c0389ac5f2cb /guides | |
parent | b537f14f3d329824517966af7eefa1743f10e13b (diff) | |
parent | 4f5d60f4f2110f458e6557a6353974babcb89787 (diff) | |
download | rails-5f8c1b197d2ccece0e08baba84cca9bca44c9750.tar.gz rails-5f8c1b197d2ccece0e08baba84cca9bca44c9750.tar.bz2 rails-5f8c1b197d2ccece0e08baba84cca9bca44c9750.zip |
Merge pull request #16988 from y-yagi/chg_default_log_level
[ci skip] modify the description of production log level default
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/configuring.md | 2 | ||||
-rw-r--r-- | guides/source/debugging_rails_applications.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 667281d1aa..220946e8d5 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -108,7 +108,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 modes except production, where it defaults to `:info`. +* `config.log_level` defines the verbosity of the Rails logger. This option defaults to `:debug` for all environments. * `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. diff --git a/guides/source/debugging_rails_applications.md b/guides/source/debugging_rails_applications.md index 88c6210296..1a647f8375 100644 --- a/guides/source/debugging_rails_applications.md +++ b/guides/source/debugging_rails_applications.md @@ -138,7 +138,7 @@ Rails.logger.level = 0 # at any time This is useful when you want to log under development or staging, but you don't want to flood your production log with unnecessary information. -TIP: The default Rails log level is `info` in production mode and `debug` in development and test mode. +TIP: The default Rails log level is `debug` in all environments. ### Sending Messages |