[ci skip]Add info for specifying logger in different envrionments.

refer 2dc3e81aea, 56ca2061df
This commit is contained in:
Kuldeep Aggarwal 2016-02-27 14:52:36 +05:30
parent 0d37f122fc
commit 3edab2a56b
1 changed files with 1 additions and 1 deletions

View File

@ -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)