diff --git a/app/controllers/dois_controller.rb b/app/controllers/dois_controller.rb index 9f8ccbf49..9040a7f07 100644 --- a/app/controllers/dois_controller.rb +++ b/app/controllers/dois_controller.rb @@ -75,6 +75,8 @@ def index end begin + logger.info "[Benchmark] Elasticsearch request " + response.took.to_s + " ms" + # If we're using sample groups we need to unpack the results from the aggregation bucket hits. if sample_group_field.present? sample_dois = []