From: Tim Starling Date: Tue, 4 Jul 2006 14:26:14 +0000 (+0000) Subject: Use wfDebugLog() for the job queue log. X-Git-Tag: 1.31.0-rc.0~56416 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=1cf360cb766a09d75445be20353cdcfa7208b420;p=lhc%2Fweb%2Fwiklou.git Use wfDebugLog() for the job queue log. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 9e5028bc8c..41073bf4df 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2121,11 +2121,6 @@ $wgAllowCategorizedRecentChanges = false ; */ $wgJobRunRate = 1; -/** - * Log file for job execution - */ -$wgJobLogFile = false; - /** * Number of rows to update per job */ diff --git a/includes/Wiki.php b/includes/Wiki.php index 4c4a8314b4..6f01000382 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -268,7 +268,7 @@ class MediaWiki { * Do a job from the job queue */ function doJobs() { - global $wgJobLogFile, $wgJobRunRate; + global $wgJobRunRate; if ( $wgJobRunRate <= 0 ) { return; @@ -294,9 +294,7 @@ class MediaWiki { } else { $output .= "Success, Time: $t ms\n"; } - if ( $wgJobLogFile ) { - error_log( $output, 3, $wgJobLogFile ); - } + wfDebugLog( 'jobqueue', $output ); } }