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:
b8ac5c0
)
Fix wfLogDBError channel redirect logic
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 30 Sep 2016 23:37:00 +0000
(16:37 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 30 Sep 2016 23:37:00 +0000
(16:37 -0700)
Change-Id: I1249f9a097625c2fab6601059177594e5f3a21fc
includes/debug/logger/LegacyLogger.php
patch
|
blob
|
history
diff --git
a/includes/debug/logger/LegacyLogger.php
b/includes/debug/logger/LegacyLogger.php
index
3318ceb
..
0ca20bb
100644
(file)
--- a/
includes/debug/logger/LegacyLogger.php
+++ b/
includes/debug/logger/LegacyLogger.php
@@
-103,7
+103,7
@@
class LegacyLogger extends AbstractLogger {
if ( isset( self::$dbChannels[$this->channel] )
&& isset( self::$levelMapping[$level] )
- && self::$levelMapping[$level] >=
LogLevel::ERROR
+ && self::$levelMapping[$level] >=
self::$levelMapping[LogLevel::ERROR]
) {
// Format and write DB errors to the legacy locations
$effectiveChannel = 'wfLogDBError';