lib/logstasher.rb in logstasher-2.0.0 vs lib/logstasher.rb in logstasher-2.0.1

- old
+ new

@@ -87,10 +87,9 @@ def clear_request_context request_context.clear end def setup_before(config) - require 'logstash-event' self.enabled = config.enabled LogStasher::ActiveSupport::LogSubscriber.attach_to :action_controller if config.controller_enabled LogStasher::ActiveSupport::MailerLogSubscriber.attach_to :action_mailer if config.mailer_enabled LogStasher::ActiveRecord::LogSubscriber.attach_to :active_record if config.record_enabled LogStasher::ActionView::LogSubscriber.attach_to :action_view if config.view_enabled