Skip to content

Commit

Permalink
fix: Remove noisy log message about missing guzzle cache middleware (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
keelerm84 authored Jan 23, 2024
1 parent 844958e commit d1119dd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/LaunchDarkly/Impl/Integrations/GuzzleFeatureRequester.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class GuzzleFeatureRequester implements FeatureRequester
const SDK_SEGMENTS = "sdk/segments";
private Client $_client;
private LoggerInterface $_logger;
private bool $_loggedCacheNotice = false;

public function __construct(string $baseUri, string $sdkKey, array $options)
{
Expand All @@ -41,9 +40,6 @@ public function __construct(string $baseUri, string $sdkKey, array $options)
),
'cache'
);
} elseif (!$this->_loggedCacheNotice) {
$this->_logger->info("GuzzleFeatureRequester is not using an HTTP cache because Kevinrob\GuzzleCache\CacheMiddleware was not installed");
$this->_loggedCacheNotice = true;
}

$defaults = [
Expand Down

0 comments on commit d1119dd

Please sign in to comment.