Skip to content

Simpler way to remove all log subscribers. #372

Description

@ioquatix

Not sure if this has been considered, but what about:

ActiveSupport::Notifications.notifier = ActiveSupport::Notifications::Fanout.new

This clears out all subscriptions and is probably faster and more robust than the existing implementation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions