lib/elasticsearch/rails/lograge.rb in elasticsearch-rails-5.1.0 vs lib/elasticsearch/rails/lograge.rb in elasticsearch-rails-6.0.0.pre
- old
+ new
@@ -23,13 +23,9 @@
Elasticsearch::Model::Searching::SearchRequest.class_eval do
include Elasticsearch::Rails::Instrumentation::Publishers::SearchRequest
end if defined?(Elasticsearch::Model::Searching::SearchRequest)
- Elasticsearch::Persistence::Model::Find::SearchRequest.class_eval do
- include Elasticsearch::Rails::Instrumentation::Publishers::SearchRequest
- end if defined?(Elasticsearch::Persistence::Model::Find::SearchRequest)
-
ActiveSupport.on_load(:action_controller) do
include Elasticsearch::Rails::Instrumentation::ControllerRuntime
end
config.lograge.custom_options = lambda do |event|