Skip to content

Make sure logging works with threads properly #806

@Jakuje

Description

@Jakuje
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed🤖 infraThis includes packaging, CI/CD, test runners, dev env. That sort of stuff.
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions