Skip to content

have easyaccess use its own logger, not the default, so it doesn't mess up other logging configuraitons #132

Closed
@ehneilsen

Description

@ehneilsen

When I load easyaccess as a python module (to use non-interactively), it messes up my logging configuration, so that I get every logging message twice, once in the format I want, and once in the one preferred by easyaccess. The easy way around it is for easyacces to use its own instance of logging.Logger, not the default one.

Yes, I can "solve" this by having my script use its own instance of logging.Logger rather than the default one, but it shouldn't have to: distributed modules should leave the default logger alone, and define and use their own instances of logging.Logger.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions