Skip to content

Logging implementation needs to be better #710

Closed
@djMax

Description

@djMax

I'm not yet sure how exactly to make it better, but the current logging implementation prevents me from associating a request context with the log messages. e.g. in a distributed system I assign a correlation id to all requests at the highest level, and all log messages should contain that id. But the signature of the ES logging infra prevents me from doing that. ONE option would be some sort of "shadow" client instance that reuses the connection of the root instance but has it's own logging implementation. There may be better options that I can't see without being more familiar with the ES code.

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