aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorKuldeep Aggarwal <kd.engineer@yahoo.co.in>2016-02-27 14:52:36 +0530
committerKuldeep Aggarwal <kd.engineer@yahoo.co.in>2016-02-27 14:52:36 +0530
commit3edab2a56bcc16ea3a0fd0e3ef671ab739c8b31c (patch)
tree20f373242216e1bc3b4a4d83a0b68b4ff2a7c5dd /guides
parent0d37f122fc0b697c25d1c31a5a9c310c4328e034 (diff)
downloadrails-3edab2a56bcc16ea3a0fd0e3ef671ab739c8b31c.tar.gz
rails-3edab2a56bcc16ea3a0fd0e3ef671ab739c8b31c.tar.bz2
rails-3edab2a56bcc16ea3a0fd0e3ef671ab739c8b31c.zip
[ci skip]Add info for specifying logger in different envrionments.
refer 2dc3e81aea8dbc, 56ca2061df83a3
Diffstat (limited to 'guides')
-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)