Make sure logging works with threads properly
Open
🤖 infra
enhancement
help wanted
- Dominant language
- Cython
- Stars
- 79
- Forks
- 47
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 6
Description
##### 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
- Feature Idea
##### ADDITIONAL INFORMATION
Based on discussion in #597 which introduces the logging.
Contributor guide
Research direction
Start by reading discussion #597 and tracing how the libssh callbacks and log level are stored in thread-local variables. Verify the behavior when Python threads are spawned and logging is reinitialized; done means callbacks and log levels work correctly across those threads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100