8000 importing cognee hijacks existing logging configuration · Issue #885 · topoteretes/cognee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
importing cognee hijacks existing logging configuration #885
Open
@jspv

Description

@jspv

Importing cognee causes existing root loggers to be removed and the applications logging replaced by congee's setup. At the risk of sounding preachy - the root logger should be in the domain of the application, modules should stick to their own named logger. (Imagine if every imported module changed the calling application's logging to the developers preference).

currently, I need to work around this by monkey-patching cognee.shared.logging_utils.

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

      0