Demon has submitted this change and it was merged.
Change subject: Log the search URL so we can troubleshoot issues.
......................................................................
Log the search URL so we can troubleshoot issues.
Change-Id: I16391dff4fd162e18bcc1706dc8191ddd47933a2
---
M MWSearch_body.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Demon: Verified; Looks good to me, approved
diff --git a/MWSearch_body.php b/MWSearch_body.php
index 7a2642e..b4d57bb 100644
--- a/MWSearch_body.php
+++ b/MWSearch_body.php
@@ -472,7 +472,7 @@
// Http::isLocal(), so suppress usage of $wgHTTPProxy if
enabled.
$httpOpts = array( 'proxy' => false );
- wfDebug( "Fetching search data from $searchUrl\n" );
+ wfDebugLog( 'mwsearch', "Fetching search data from
$searchUrl\n" );
$work = new PoolCounterWorkViaCallback( 'LuceneSearchRequest',
"_lucene:host:$host",
array( 'doWork' => function() use ( $host, $searchUrl,
$httpOpts ) {
--
To view, visit https://gerrit.wikimedia.org/r/58915
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I16391dff4fd162e18bcc1706dc8191ddd47933a2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MWSearch
Gerrit-Branch: master
Gerrit-Owner: Ram <[email protected]>
Gerrit-Reviewer: Demon <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits