Skip to content

No logging.shutdown() function #99

@pamelafox

Description

@pamelafox

CPython logging has a shutdown function:
https://docs.python.org/3/library/logging.html#logging.shutdown

The documentation describes it as taking 0 arguments, but it actually takes a handlers argument which defaults to the module internal _handersList, a list of handlers. Picologging doesnt have _handlersList, but it does have root, so I think it should be able to find all the handlers that way.

Is the lack of shutdown() a limitation or a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    cpython-incompatibilityRelates to an incompatibility with stdlib logginghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions