lib/elastic_apm/railtie.rb in elastic-apm-1.1.0 vs lib/elastic_apm/railtie.rb in elastic-apm-2.0.0

- old
+ new

@@ -24,10 +24,10 @@ agent.instrumenter.subscriber = ElasticAPM::Subscriber.new(agent) app.middleware.insert 0, Middleware end rescue StandardError => e - Rails.logger.error "#{Log::PREFIX}Failed to start: #{e.message}" + Rails.logger.error "#{Logging::PREFIX}Failed to start: #{e.message}" Rails.logger.debug e.backtrace.join("\n") end end config.after_initialize do