-
-
Notifications
You must be signed in to change notification settings - Fork 42
Make sure logging works with threads properly #806
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed🤖 infraThis includes packaging, CI/CD, test runners, dev env. That sort of stuff.This includes packaging, CI/CD, test runners, dev env. That sort of stuff.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed🤖 infraThis includes packaging, CI/CD, test runners, dev env. That sort of stuff.This includes packaging, CI/CD, test runners, dev env. That sort of stuff.
Type
Fields
Give feedbackNo fields configured for Feature.
SUMMARY
The libssh callbacks and log level is stored in thread-local variables so if we spawn threads in python, we need to make sure to reinitialize logging to make sure it works properely.
ISSUE TYPE
ADDITIONAL INFORMATION
Based on discussion in #597 which introduces the logging.