init.rb in newrelic_rpm-3.5.4.35.beta vs init.rb in newrelic_rpm-3.5.5.38

- old
+ new

@@ -25,14 +25,7 @@ end NewRelic::Control.instance.init_plugin :config => current_config rescue => e - NewRelic::Control.instance.log! "Error initializing New Relic plugin (#{e})", :error - NewRelic::Control.instance.log! e.backtrace.join("\n"), :error - NewRelic::Control.instance.log! "Agent is disabled." + ::NewRelic::Agent.logger.error "Error initializing New Relic plugin. Agent is disabled.", e end - -#ClassLoadingWatcher.flag_const_missing = nil -# -# ::RAILS_DEFAULT_LOGGER.warn "New Relic detected environment: #{NewRelic::Control.instance.local_env.to_s}, RAILS_ENV: #{RAILS_ENV}" -# ::RAILS_DEFAULT_LOGGER.warn "Enabled? #{NewRelic::Control.instance.agent_enabled?}"