[JobQueue] Use regular wfDebug() in some places.
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 19 Apr 2013 20:36:12 +0000 (13:36 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 19 Apr 2013 20:36:16 +0000 (13:36 -0700)
* This is not worth a special log.

Change-Id: I12df469e7f64446caf5f4e956967f6db065479d1

includes/job/JobQueueDB.php

index a685fe3..a8402ac 100644 (file)
@@ -292,7 +292,7 @@ class JobQueueDB extends JobQueue {
                        $title = Title::makeTitleSafe( $row->job_namespace, $row->job_title );
                        if ( !$title ) {
                                $dbw->delete( 'job', array( 'job_id' => $row->job_id ), __METHOD__ );
-                               wfDebugLog( 'JobQueueDB', "Row has invalid title '{$row->job_title}'." );
+                               wfDebug( "Row has invalid title '{$row->job_title}'." );
                                continue; // try again
                        }
                        $job = Job::factory( $row->job_cmd, $title,
@@ -434,7 +434,7 @@ class JobQueueDB extends JobQueue {
                                        array( 'job_cmd' => $this->type, 'job_token' => $uuid ), __METHOD__
                                );
                                if ( !$row ) { // raced out by duplicate job removal
-                                       wfDebugLog( 'JobQueueDB', "Row deleted as duplicate by another process." );
+                                       wfDebug( "Row deleted as duplicate by another process." );
                                }
                        } else {
                                break; // nothing to do