Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/60073
Change subject: [JobQueue] Use regular wfDebug() in some places.
......................................................................
[JobQueue] Use regular wfDebug() in some places.
* This is not worth a special log.
Change-Id: I12df469e7f64446caf5f4e956967f6db065479d1
---
M includes/job/JobQueueDB.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/73/60073/1
diff --git a/includes/job/JobQueueDB.php b/includes/job/JobQueueDB.php
index a685fe3..a8402ac 100644
--- a/includes/job/JobQueueDB.php
+++ b/includes/job/JobQueueDB.php
@@ -292,7 +292,7 @@
$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 @@
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
--
To view, visit https://gerrit.wikimedia.org/r/60073
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I12df469e7f64446caf5f4e956967f6db065479d1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits