add logging and metrics to dropRecord command