Skip to content

Commit 3edab2a

Browse files
[ci skip]Add info for specifying logger in different envrionments.
refer 2dc3e81, 56ca206
1 parent 0d37f12 commit 3edab2a

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)