N°4125 - use Error log level + apc dedicated log channel

This commit is contained in:
odain
2021-11-26 17:07:20 +01:00
parent dcfdb2d0a9
commit 3511867ba3
2 changed files with 2 additions and 1 deletions

View File

@@ -152,7 +152,7 @@ class Dict
if (!array_key_exists($sLangCode, self::$m_aData))
{
IssueLog::Warning("Cannot find $sLangCode in dictionnaries. default labels displayed");
IssueLog::Error("Cannot find $sLangCode in dictionnaries. default labels displayed", LogChannels::APC);
// It may happen, when something happens before the dictionaries get loaded
return $sStringCode;
}

View File

@@ -542,6 +542,7 @@ class LogChannels
const DEADLOCK = 'DeadLock';
const INLINE_IMAGE = 'InlineImage';
const PORTAL = 'portal';
const APC = 'apc';
}