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 Rails log tagging in 1.0.0.beta2 #1989

Merged
merged 4 commits into from
Apr 27, 2022
Merged

Conversation

cwoodcox
Copy link
Contributor

@cwoodcox cwoodcox commented Apr 27, 2022

Fixes #1986.

I updated the specs to set up the mock Rails logger to be like the default logger that ships in a Rails application. I also tested this in a freshly-generated Rails 7.0 app, and our own production applications. No more warning, and the log tags work correctly.

@cwoodcox cwoodcox requested a review from a team April 27, 2022 19:34
@marcotc
Copy link
Member

marcotc commented Apr 27, 2022

Thank you so much @cwoodcox!

I've allowed test runs for your PR (first time contributors need us to push a button on our side), 🤞 is all green and we get this merged. Thank you again! 🙇

@marcotc marcotc added bug Involves a bug integrations Involves tracing integrations labels Apr 27, 2022
@marcotc
Copy link
Member

marcotc commented Apr 27, 2022

Lint failed, so I pushed a commit after running rubocop -a, but tests are looking good so far.

@marcotc marcotc merged commit fffd304 into DataDog:master Apr 27, 2022
@github-actions github-actions bot added this to the 1.0.0.beta3 milestone Apr 27, 2022
@marcotc
Copy link
Member

marcotc commented May 2, 2022

Thank you so much @cwoodcox! This change has just been released in ddtrace v1.0.0. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Involves a bug integrations Involves tracing integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to enable Datadog Trace context, Logger is not supported
2 participants