While working on T364892: Enable CommunityConfiguration on all beta wikis with GrowthExperiments, @Sgs noticed many warnings in beta Logstash (https://beta-logs.wmcloud.org/goto/9a42133bf61d7d3441496279dcc8f2a3):
This happens because of logging added in WikiPageConfigReader. As of now, that class contains the following:
$providerKeys = $this->providerFactory->getSupportedKeys(); foreach ( $providerKeys as $providerKey ) { $provider = $this->providerFactory->newProvider( $providerKey ); if ( $provider instanceof WikiPageConfigProvider ) { // do something useful } else { $this->logger->warning( ... ); } }
In retrospective, warnings are not appropriate in this place, as it is perfectly reasonable for WikiPageConfigReader to encounter something that is not a WikiPageConfigProvider. The log level should be lowered, likely to DEBUG (or possibly, INFO).