From 3511867ba34e0162dbb4890e24de8afe4f3aba26 Mon Sep 17 00:00:00 2001 From: odain Date: Fri, 26 Nov 2021 17:07:20 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B04125=20-=20use=20Error=20log=20level=20+?= =?UTF-8?q?=20apc=20dedicated=20log=20channel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/dict.class.inc.php | 2 +- core/log.class.inc.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/dict.class.inc.php b/core/dict.class.inc.php index c64c3a717..18b88f2ba 100644 --- a/core/dict.class.inc.php +++ b/core/dict.class.inc.php @@ -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; } diff --git a/core/log.class.inc.php b/core/log.class.inc.php index 39988557c..739db5082 100644 --- a/core/log.class.inc.php +++ b/core/log.class.inc.php @@ -542,6 +542,7 @@ class LogChannels const DEADLOCK = 'DeadLock'; const INLINE_IMAGE = 'InlineImage'; const PORTAL = 'portal'; + const APC = 'apc'; }