lib/logstasher.rb in logstasher-0.2.8 vs lib/logstasher.rb in logstasher-0.3.0

- old
+ new

@@ -45,10 +45,10 @@ def self.setup(app) app.config.action_dispatch.rack_cache[:verbose] = false if app.config.action_dispatch.rack_cache # Path instrumentation class to insert our hook require 'logstasher/rails_ext/action_controller/metal/instrumentation' - require 'logstash/event' + require 'logstash-event' self.suppress_app_logs(app) LogStasher::RequestLogSubscriber.attach_to :action_controller self.logger = app.config.logstasher.logger || Logger.new("#{Rails.root}/log/logstash_#{Rails.env}.log") self.logger.level = app.config.logstasher.log_level || Logger::WARN self.enabled = true