From a217e42a1911f131775b83ee9b6f4baa2bf96e7d Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 18 Feb 2021 16:02:46 +0100 Subject: [PATCH] LSioFormat: Don't warn about non-added export attribute, just debug it --- src/includes/class/class.LSioFormat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/class/class.LSioFormat.php b/src/includes/class/class.LSioFormat.php index 115f2c96..d732db43 100644 --- a/src/includes/class/class.LSioFormat.php +++ b/src/includes/class/class.LSioFormat.php @@ -138,7 +138,7 @@ class LSioFormat extends LSlog_staticLoggerClass { } $object -> attrs[$attr_name] -> addToExport($export); if (!isset($export -> elements[$attr_name])) { - self :: log_warning("exportObjects($object): fail to add attribute '$attr_name' to export !"); + self :: log_debug("exportObjects($object): attribute '$attr_name' not added to export : may be user can't read it"); continue; } $objects_data[$object -> getDn()][$key] = $export -> elements[$attr_name] -> getApiValue(false);