From ab9b8d431c645590ffee61eda6aa8e1869d00ace Mon Sep 17 00:00:00 2001 From: Matthew Keeler Date: Tue, 23 Jan 2024 12:53:28 -0500 Subject: [PATCH] fix: Remove noisy log message about missing guzzle cache middleware --- src/LaunchDarkly/Impl/Integrations/GuzzleFeatureRequester.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/LaunchDarkly/Impl/Integrations/GuzzleFeatureRequester.php b/src/LaunchDarkly/Impl/Integrations/GuzzleFeatureRequester.php index 47d3efec..5c90373e 100644 --- a/src/LaunchDarkly/Impl/Integrations/GuzzleFeatureRequester.php +++ b/src/LaunchDarkly/Impl/Integrations/GuzzleFeatureRequester.php @@ -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) { @@ -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 = [