Skip to content

Commit 2b519f2

Browse files
maxmnemonicMaksym Lysak
andauthored
chore: Silencing info logging on "delete_items" by moving it to debug level (#400)
moving log of deleting elements from info to debug Signed-off-by: Maksym Lysak <[email protected]> Co-authored-by: Maksym Lysak <[email protected]>
1 parent abfa81f commit 2b519f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docling_core/types/doc/document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2267,7 +2267,7 @@ def _delete_items(self, refs: list[RefItem]):
22672267
if not success:
22682268
del to_be_deleted_items[stack_]
22692269
else:
2270-
_logger.info(f"deleted item in tree at stack: {stack_} => {ref_}")
2270+
_logger.debug(f"deleted item in tree at stack: {stack_} => {ref_}")
22712271

22722272
# Create a new lookup of the orphans:
22732273
# dict of item_label (`texts`, `tables`, ...) to a

0 commit comments

Comments
 (0)