diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php index daa24306684cef89f9a59ee17f44ae5f164e29f1..62f3cb51989a92324c355d52a1feed8b099d717d 100644 --- a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php +++ b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php @@ -532,10 +532,12 @@ class Connector $this->lastRequest = array('parameters' => $params, 'handler' => $handler, 'method' => $method); + $time = microtime(true); $response = $client->send(); + $time = microtime(true) - $time; if ($this->logger) { - $this->logger->debug(sprintf('<= %s %s', $response->getStatusCode(), $response->getReasonPhrase())); + $this->logger->debug(sprintf('<= %s %s', $response->getStatusCode(), $response->getReasonPhrase()), array('time' => $time)); } if (!$response->isSuccess()) {