Fix wfLogDBError channel redirect logic
Change-Id: I1249f9a097625c2fab6601059177594e5f3a21fc
This commit is contained in:
parent
b8ac5c0004
commit
094105f017
1 changed files with 1 additions and 1 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue