dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
265a855
)
Turn a wfDebug call in MessageCache::get into a wfDebugLog call
author
Ori Livneh
<ori@wikimedia.org>
Fri, 3 Oct 2014 03:52:05 +0000
(20:52 -0700)
committer
Ori Livneh
<ori@wikimedia.org>
Fri, 3 Oct 2014 03:52:05 +0000
(20:52 -0700)
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
includes/cache/MessageCache.php
patch
|
blob
|
history
diff --git
a/includes/cache/MessageCache.php
b/includes/cache/MessageCache.php
index
1ef7cc5
..
99dafa6
100644
(file)
--- 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" );
+ wfDebug
Log( 'MessageCache',
__METHOD__ . ": Loading $code... $info\n" );
wfProfileOut( __METHOD__ );
return $success;