Phuedx has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/347619 )
Change subject: formatter: Change log channel of infobox message ...................................................................... formatter: Change log channel of infobox message By default, the minimum log level for Logstash is INFO [0]. The minimum log level for the "mobile" channel, however, is DEBUG [1]. [0] https://github.com/wikimedia/operations-mediawiki-config/blob/8342bcbbd040bab1cd3b140b47a58f7ee08d1a46/wmf-config/InitialiseSettings.php#L4795 [1] https://github.com/wikimedia/operations-mediawiki-config/blob/8342bcbbd040bab1cd3b140b47a58f7ee08d1a46/wmf-config/InitialiseSettings.php#L4868 Bug: T149884 Change-Id: I61d20ea8dcc8cd63e826f56567302248b3c92f61 --- M includes/MobileFormatter.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend refs/changes/19/347619/1 diff --git a/includes/MobileFormatter.php b/includes/MobileFormatter.php index 9a88fbb..0686414 100644 --- a/includes/MobileFormatter.php +++ b/includes/MobileFormatter.php @@ -265,7 +265,7 @@ private function logInfoboxesWrappedInContainers( $leadSectionBody, DOMXPath $xPath ) { $infoboxes = $xPath->query( './/table[contains(@class,"infobox")]', $leadSectionBody ); if ( $infoboxes->length > 0 ) { - \MediaWiki\Logger\LoggerFactory::getInstance( 'MobileFrontend' )->debug( + \MediaWiki\Logger\LoggerFactory::getInstance( 'mobile' )->debug( "Found infobox wrapped with container on {$this->title} (rev:{$this->revId})" ); } -- To view, visit https://gerrit.wikimedia.org/r/347619 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I61d20ea8dcc8cd63e826f56567302248b3c92f61 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Phuedx <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
