N°3944 - LogAPI : fix default log level in config when logging using a channel

This commit is contained in:
denis.flaven@combodo.com
2021-08-04 10:07:58 +02:00
parent 3ebb1cfc66
commit 29967aa41a

View File

@@ -705,7 +705,11 @@ abstract class LogAPI
}
if (isset($sLogLevelMin[static::CHANNEL_DEFAULT])) {
return $sLogLevelMin[$sChannel];
return $sLogLevelMin[static::CHANNEL_DEFAULT];
}
if (isset($sLogLevelMin[''])) {
return $sLogLevelMin[''];
}
return static::GetLevelDefault();