From 77b2cf831b3b41721e605183c73a1a9d40561257 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Fri, 9 Dec 2016 14:55:28 -0800 Subject: [PATCH] Include numerical namespace in slow-parse.log This makes it easier to sort by namespace rather than trying to parse it out of the title. Change-Id: I946cb00548bcb69bd2be98c15a9f1e02e546fa24 --- includes/poolcounter/PoolWorkArticleView.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/poolcounter/PoolWorkArticleView.php b/includes/poolcounter/PoolWorkArticleView.php index 29016a8e57..534e86b6be 100644 --- a/includes/poolcounter/PoolWorkArticleView.php +++ b/includes/poolcounter/PoolWorkArticleView.php @@ -147,6 +147,7 @@ class PoolWorkArticleView extends PoolCounterWork { $logger->info( '{time} {title}', [ 'time' => number_format( $time, 2 ), 'title' => $this->page->getTitle()->getPrefixedDBkey(), + 'ns' => $this->page->getTitle()->getNamespace(), 'trigger' => 'view', ] ); } -- 2.20.1