r84318 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84317‎ | r84318 | r84319 >
Date:12:09, 19 March 2011
Author:tstarling
Status:ok
Tags:
Comment:
MFT r84316: pool counter logging
Modified paths:
  • /branches/wmf/1.17wmf1/includes/PoolCounter.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/includes/PoolCounter.php
@@ -134,6 +134,13 @@
135135 function error( $status ) {
136136 return false;
137137 }
 138+
 139+ /**
 140+ * Log an error
 141+ */
 142+ function logError( $status ) {
 143+ wfDebugLog( 'poolcounter', $status->getWikiText() );
 144+ }
138145
139146 /**
140147 * Get the result of the work (whatever it is), or false.
@@ -180,6 +187,7 @@
181188 /* continue to the error */
182189 }
183190 }
 191+ $this->logError( $status );
184192 return $this->error( $status );
185193 }
186194
Property changes on: branches/wmf/1.17wmf1/includes/PoolCounter.php
___________________________________________________________________
Added: svn:mergeinfo
187195 Merged /branches/new-installer/phase3/includes/PoolCounter.php:r43664-66004
188196 Merged /branches/wmf-deployment/includes/PoolCounter.php:r53381,60970
189197 Merged /branches/REL1_15/phase3/includes/PoolCounter.php:r51646
190198 Merged /branches/wmf/1.16wmf4/includes/PoolCounter.php:r67177,69199,76243,77266
191199 Merged /branches/sqlite/includes/PoolCounter.php:r58211-58321
192200 Merged /trunk/phase3/includes/PoolCounter.php:r83590,84316

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84316Log pool counter errorststarling12:06, 19 March 2011

Status & tagging log