Skip to content

Conversation

seanpdoyle
Copy link

@seanpdoyle seanpdoyle commented Jan 4, 2025

When left un-configured during boot, default the value of ActiveResource::Base.logger to Rails.logger.

This change draws inspiration from the corresponding lines in the active_record/railtie.rb file's active_record.logger initializer.

When left un-configured during boot, default the value of
`ActiveResource::Base.logger` to `Rails.logger`.

This change draws inspiration from the corresponding lines in the
`active_record/railtie.rb` file's [active_record.logger][] initializer.

[active_resource.logger]: https://github.com/rails/rails/blob/1b327ad4ed0fe5e8c2f1f795e2cf63f90a9833b5/activerecord/lib/active_record/railtie.rb#L97-L99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant