lib/ddtrace/contrib/rack/request_queue.rb in ddtrace-0.34.2 vs lib/ddtrace/contrib/rack/request_queue.rb in ddtrace-0.35.0
- old
+ new
@@ -28,10 +28,10 @@
request_start = Time.at(time_value)
request_start.utc > now ? nil : request_start
rescue StandardError => e
# in case of an Exception we don't create a
# `request.queuing` span
- Datadog::Logger.log.debug("[rack] unable to parse request queue headers: #{e}")
+ Datadog.logger.debug("[rack] unable to parse request queue headers: #{e}")
nil
end
end
end
end