Skip to content

Docling Parse modifies root logging level #178

@davidmezzetti

Description

@davidmezzetti

Importing Docling as shown below causes the root logger to be set to INFO.

from docling.document_converter import DocumentConverter

The code that is doing this is from docling-parse:

https://github.com/docling-project/docling-parse/blob/main/docling_parse/pdf_parser.py#L29

This change added this logging:

https://github.com/docling-project/docling-parse/pull/161/files#diff-5865048211eafa8c56f788c69ec60c34cf08d2c8f11b9e8c1460a40c5cabe963R29

It's best practice to let the developer determine their own default logging level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions