Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tagged logging push_tags for Rails 8 #1350

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Fix tagged logging push_tags for Rails 8 #1350

merged 1 commit into from
Dec 17, 2024

Conversation

tombruijn
Copy link
Member

In Rails 8 the push_tags arguments are positional, where previously it was an array of values. Support both by adding a * to the argument.

Fixes #1348

In Rails 8 the `push_tags` arguments are positional, where previously
it was an array of values. Support both by adding a `*` to the argument.

Fixes #1348
@tombruijn tombruijn added the bug label Dec 17, 2024
@tombruijn tombruijn self-assigned this Dec 17, 2024
@tombruijn tombruijn marked this pull request as ready for review December 17, 2024 09:06
@unflxw unflxw merged commit 6abb785 into main Dec 17, 2024
151 checks passed
unflxw added a commit that referenced this pull request Dec 19, 2024
This commit removes tagged logging support from `Appsignal::Logger`,
essentially reverting most of the changes in #1344, #1350, #1351 and

The change to use instance variables instead of thread variables is
maintained, as well as the tests that assert the expected behaviour
when used alongside `ActiveSupport::TaggedLogging`, which pass
notwithstanding the reverted functionality. This makes explicit in
our test suite the way in which tagged logging is supported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4.2.1 -> 4.2.2 Upgrade breaks Puma startup
2 participants