Skip to content

Commit 5cb307d

Browse files
Merge pull request rails#23926 from kuldeepaggarwal/fix-docs
[ci skip]Add info for specifying logger in different envrionments.
2 parents 0d37f12 + 3edab2a commit 5cb307d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/debugging_rails_applications.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ It can also be useful to save information to log files at runtime. Rails maintai
109109

110110
Rails makes use of the `ActiveSupport::Logger` class to write log information. Other loggers, such as `Log4r`, may also be substituted.
111111

112-
You can specify an alternative logger in `config/application.rb`, for example:
112+
You can specify an alternative logger in `config/application.rb` or any other environment file, for example:
113113

114114
```ruby
115115
config.logger = Logger.new(STDOUT)

0 commit comments

Comments
 (0)