Skip to content

Cannot associate log messages with specific instance of SftpClient #1669

@shadytester

Description

@shadytester

Assume I have a few instances of SftpClient, a few open connections and want to get log messages from each of them separately. How can I do this?
I can register custom implementation of ILoggerFactory but it will receive log messages from all existing instances and these messages do not have any info that would allow to distinglish their senders.

It looks like a design bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions