Skip to content

Commit e850026

Browse files
authored
fix: Remove noisy log message about missing guzzle cache middleware (#196)
1 parent d123492 commit e850026

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/LaunchDarkly/Impl/Integrations/GuzzleFeatureRequester.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class GuzzleFeatureRequester implements FeatureRequester
2626
const SDK_SEGMENTS = "sdk/segments";
2727
private Client $_client;
2828
private LoggerInterface $_logger;
29-
private bool $_loggedCacheNotice = false;
3029

3130
public function __construct(string $baseUri, string $sdkKey, array $options)
3231
{
@@ -41,9 +40,6 @@ public function __construct(string $baseUri, string $sdkKey, array $options)
4140
),
4241
'cache'
4342
);
44-
} elseif (!$this->_loggedCacheNotice) {
45-
$this->_logger->info("GuzzleFeatureRequester is not using an HTTP cache because Kevinrob\GuzzleCache\CacheMiddleware was not installed");
46-
$this->_loggedCacheNotice = true;
4743
}
4844

4945
$defaults = [

0 commit comments

Comments
 (0)