mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4125 - use Error log level + apc dedicated log channel
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -542,6 +542,7 @@ class LogChannels
|
||||
const DEADLOCK = 'DeadLock';
|
||||
const INLINE_IMAGE = 'InlineImage';
|
||||
const PORTAL = 'portal';
|
||||
const APC = 'apc';
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user