Skip to content

New loguru logging seems not to play nice with Python logging. #93

Description

@sarusso

Hi,

commit 61d9845 introduced loguru, but it seems to me that right now it's just using Python root logger under the hood, as it might not be properly set up (as mentioned in https://github.com/Delgan/loguru?tab=readme-ov-file#suitable-for-scripts-and-libraries)

The result is that it becomes hard to include Fitter v1.7.0 in other applications that might need to change logleves, use other handlers or just hide its output. In this sense, it was better to use Python's standard logging.

I am not sure what the solution could be, but right now I am forced to monkey-patch Fitter at runtime to be able to take control over its logging.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions