From: Ori Livneh Date: Fri, 3 Oct 2014 03:52:05 +0000 (-0700) Subject: Turn a wfDebug call in MessageCache::get into a wfDebugLog call X-Git-Tag: 1.31.0-rc.0~13700^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=494909453dc0b209f37afbb696925debac20a0d5;p=lhc%2Fweb%2Fwiklou.git Turn a wfDebug call in MessageCache::get into a wfDebugLog call It's a very hot code path, so it makes sense to be able to dive into it in detail, and having a discrete log bucket makes that easier to do. Change-Id: I4b547e97711b9e45a99f7b747d785690c70883ec --- diff --git a/includes/cache/MessageCache.php b/includes/cache/MessageCache.php index 1ef7cc5840..99dafa60cc 100644 --- a/includes/cache/MessageCache.php +++ b/includes/cache/MessageCache.php @@ -422,7 +422,7 @@ class MessageCache { $this->mLoadedLanguages[$code] = true; } $info = implode( ', ', $where ); - wfDebug( __METHOD__ . ": Loading $code... $info\n" ); + wfDebugLog( 'MessageCache', __METHOD__ . ": Loading $code... $info\n" ); wfProfileOut( __METHOD__ ); return $success;