-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Logging in signal handlers may be unsafe #3198
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the arbiter's signal-handling code, there are many uses of logging. E.g.
https://github.com/benoitc/gunicorn/blob/master/gunicorn/arbiter.py#L252
however, the docs say this:
https://docs.python.org/3/library/logging.html#thread-safety
elsewhere Gregory Smith says the following:
What the consequences of the above remarks are... may depend on how many signals you send.
The text was updated successfully, but these errors were encountered: