Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No logging.shutdown() function #99

Open
pamelafox opened this issue Sep 25, 2022 · 0 comments · May be fixed by #136
Open

No logging.shutdown() function #99

pamelafox opened this issue Sep 25, 2022 · 0 comments · May be fixed by #136
Labels
cpython-incompatibility Relates to an incompatibility with stdlib logging help wanted Extra attention is needed

Comments

@pamelafox
Copy link
Member

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?

@tonybaloney tonybaloney added the cpython-incompatibility Relates to an incompatibility with stdlib logging label Sep 26, 2022
@tonybaloney tonybaloney added the help wanted Extra attention is needed label Oct 10, 2022
@aminalaee aminalaee linked a pull request Nov 16, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpython-incompatibility Relates to an incompatibility with stdlib logging help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants