LSioFormat: Don't warn about non-added export attribute, just debug it

This commit is contained in:
Benjamin Renard 2021-02-18 16:02:46 +01:00
parent 4c4983b634
commit a217e42a19

View file

@ -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);