lib/ddtrace/contrib/dalli/quantize.rb in ddtrace-0.34.2 vs lib/ddtrace/contrib/dalli/quantize.rb in ddtrace-0.35.0
- old
+ new
@@ -11,10 +11,10 @@
placeholder = "#{operation} BLOB (OMITTED)"
command = [operation, *args].join(' ').strip
command = Utils.utf8_encode(command, binary: true, placeholder: placeholder)
Utils.truncate(command, Ext::QUANTIZE_MAX_CMD_LENGTH)
rescue => e
- Logger.log.debug("Error sanitizing Dalli operation: #{e}")
+ Datadog.logger.debug("Error sanitizing Dalli operation: #{e}")
placeholder
end
end
end
end