Skip to content

Remove double opt-in for Logs in Rails #2715

Closed

Description

@dingsdax

if enable_logs = true  in Ruby, we need to enable Rails logging automatically

Sentry.init do |config|
  # ... your setup ...

  # Make sure structured logging is enabled
  config.enable_logs = true

  # Enable default Rails log subscribers (ActionController and ActiveRecord)
  config.rails.structured_logging.enabled = true
end

Activity

  1. linear commented on Sep 23, 2025

    @linear
  2. added a commit that references this issue on Sep 24, 2025
    6742809
  3. added 5 commits that reference this issue on Sep 24, 2025
    9f7499b
    72250c5
    7adf608
    26f72c4
    cbe19a4
  4. added a commit that references this issue on Sep 26, 2025
    2c8c2c1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions