-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
We have a project containing a module named "common" in the top level.
Importing docling in this module causes DEBUG logs to be emitted, which we did not configure explicitly.
This behavior was traced to this statement:
logger = s.get_custom_logger("common", LOG_LEVEL) |
which assign DEBUG logging level to a package/module that "docing-ibm-models" does not own.
Instead of "common", there should be a fully qualified path, which in this case is docling_ibm_models.tableformer.common
. Suggested change:
logger = s.get_custom_logger(__name__, LOG_LEVEL)
sokoloff
Metadata
Metadata
Assignees
Labels
No labels