diff --git a/contrib/Newrelic/Exporter.php b/contrib/Newrelic/Exporter.php index 3aca2a3c9..90be3c333 100644 --- a/contrib/Newrelic/Exporter.php +++ b/contrib/Newrelic/Exporter.php @@ -146,14 +146,6 @@ public function export(iterable $spans): int return Trace\Exporter::FAILED_RETRYABLE; } - $statusCode = $response->getStatusCode(); - $reason = $response->getReasonPhrase(); - - // Useful information for when logging is implemented. - /* - * echo "\nsendRequest response = " . $statusCode . "\n"; - * echo "\nsendRequest response = " . $reason . "\n"; - */ if ($response->getStatusCode() >= 400 && $response->getStatusCode() < 500) { return Trace\Exporter::FAILED_NOT_RETRYABLE; } diff --git a/contrib/ZipkinToNewrelic/Exporter.php b/contrib/ZipkinToNewrelic/Exporter.php index a43c2e9d1..8cd7e70a0 100644 --- a/contrib/ZipkinToNewrelic/Exporter.php +++ b/contrib/ZipkinToNewrelic/Exporter.php @@ -135,11 +135,6 @@ public function export(iterable $spans): int return Trace\Exporter::FAILED_RETRYABLE; } - $statusCode = $response->getStatusCode(); - $reason = $response->getReasonPhrase(); - echo "\nsendRequest response = " . $statusCode . "\n"; - echo "\nsendRequest response = " . $reason . "\n"; - if ($response->getStatusCode() >= 400 && $response->getStatusCode() < 500) { return Trace\Exporter::FAILED_NOT_RETRYABLE; }