Ram has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/58915


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MWSearch 
refs/changes/15/58915/1

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: newchange
Gerrit-Change-Id: I16391dff4fd162e18bcc1706dc8191ddd47933a2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MWSearch
Gerrit-Branch: master
Gerrit-Owner: Ram <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to