newrelic-ruby-agent icon indicating copy to clipboard operation
newrelic-ruby-agent copied to clipboard

Support Rails 8.1 Events (structured logging)

Open fallwith opened this issue 1 year ago • 4 comments

As per https://github.com/rails/rails/issues/50452, Rails 8 intends to introduce structured logging. We ought to ensure that our log forwarding and decoration works with the new logger.

Rails World talk about this feature: https://www.youtube.com/watch?v=JK90_2L_NUM

fallwith avatar Jul 22 '24 21:07 fallwith

https://new-relic.atlassian.net/browse/NR-294488

This feature has been moved to Rails 8.1

kaylareopelle avatar Oct 02 '24 20:10 kaylareopelle

PR merged! https://github.com/rails/rails/pull/55334

kaylareopelle avatar Aug 18 '25 17:08 kaylareopelle

We can consider using ActiveSupport::Notifications for this: https://github.com/rails/rails/pull/55690

kaylareopelle avatar Sep 26 '25 21:09 kaylareopelle