aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorप्रथमेश Sonpatki <csonpatki@gmail.com>2016-02-27 14:56:58 +0530
committerप्रथमेश Sonpatki <csonpatki@gmail.com>2016-02-27 14:56:58 +0530
commit5cb307d85913e47f449b93a4a3ab374cdc0dad52 (patch)
tree20f373242216e1bc3b4a4d83a0b68b4ff2a7c5dd
parent0d37f122fc0b697c25d1c31a5a9c310c4328e034 (diff)
parent3edab2a56bcc16ea3a0fd0e3ef671ab739c8b31c (diff)
downloadrails-5cb307d85913e47f449b93a4a3ab374cdc0dad52.tar.gz
rails-5cb307d85913e47f449b93a4a3ab374cdc0dad52.tar.bz2
rails-5cb307d85913e47f449b93a4a3ab374cdc0dad52.zip
Merge pull request #23926 from kuldeepaggarwal/fix-docs
[ci skip]Add info for specifying logger in different envrionments.
-rw-r--r--guides/source/debugging_rails_applications.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/debugging_rails_applications.md b/guides/source/debugging_rails_applications.md
index 713d95a3c1..faf475c294 100644
--- a/guides/source/debugging_rails_applications.md
+++ b/guides/source/debugging_rails_applications.md
@@ -109,7 +109,7 @@ It can also be useful to save information to log files at runtime. Rails maintai
Rails makes use of the `ActiveSupport::Logger` class to write log information. Other loggers, such as `Log4r`, may also be substituted.
-You can specify an alternative logger in `config/application.rb`, for example:
+You can specify an alternative logger in `config/application.rb` or any other environment file, for example:
```ruby
config.logger = Logger.new(STDOUT)