Skip to content

Commit

Permalink
Clarify ActiveRecord changelog for SQLCommenter
Browse files Browse the repository at this point in the history
Forgot to update the changelog when we changed the default values for
`config.active_record.query_log_tags_format` from `:legacy` to
`:sqlcommenter`.

This change is a followup to: #46179
  • Loading branch information
modulitos committed Oct 23, 2022
1 parent 971fa17 commit e333bda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/CHANGELOG.md
Expand Up @@ -94,9 +94,9 @@

*Guo Xiang Tan*, *George Wambold*

* Add configurable formatter on query log tags to support sqlcommenter. See #45139
* Update query log tags to use the [SQLCommenter](https://open-telemetry.github.io/opentelemetry-sqlcommenter/) format by default. See [#46179](https://github.com/rails/rails/issues/46179)

It is now possible to opt into sqlcommenter-formatted query log tags with `config.active_record.query_log_tags_format = :sqlcommenter`.
To opt out of SQLCommenter-formatted query log tags, set `config.active_record.query_log_tags_format = :legacy`. By default, this is set to `:sqlcommenter`.

*Modulitos* and *Iheanyi*

Expand Down

0 comments on commit e333bda

Please sign in to comment.