Skip to content

feat!: Disable rails structured logging by default - #3102

Merged
sl0thentr0py merged 1 commit into
masterfrom
neel/rails-logs-off
Sep 28, 2026
Merged

sl0thentr0py merged 1 commit into
masterfrom
neel/rails-logs-off

Conversation

@sl0thentr0py

@sl0thentr0py sl0thentr0py commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Description

Since the community reacted badly to this change, we are going back on this decision.

Changelog Entry

Since enable_logs was removed in 7.0.0 and the community did not like the automatic enabling of Rails structured logging, we are disabling it in this minor. We apologize for the confusion caused.
If you want to turn it on, please use:

Sentry.init do |config|
  # ...
  config.rails.structured_logging.enabled = true
end

Issues

@linear-code

linear-code Bot commented Sep 28, 2026

Copy link
Copy Markdown

RUBY-219

Comment thread sentry-rails/sentry-rails.gemspec
@sl0thentr0py
sl0thentr0py merged commit 10d8a81 into master Sep 28, 2026
158 checks passed
@sl0thentr0py
sl0thentr0py deleted the neel/rails-logs-off branch September 28, 2026 12:09
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.

Default structured logging to off and require explicit opt-in

2 participants