Skip to content

logdirector's "Dirty Trick" just bit me. #73

@freckletonj

Description

@freckletonj

I was struggling to configure logging for my library that uses Thespian, until I found it was because of this function, I believe:

# Dirty trick here to completely re-initialize logging in this

logging.basicConfig(...) fails (for instance, you can't change format=...) unless you use the new force=True, but I'm not convinced that doesn't break something Thespian depends on, and I don't exactly understand what this hack is doing, nor why it's necessary.

I just wanted to bubble this up to your awareness.

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