Skip to content

Logs SDK: LoggingHandler does not set instrumentation scope version or schema_url #4320

@lmolkova

Description

@lmolkova

LoggingHandler gets logger without specifying version (SDK package version) and schema_url

logger = get_logger(record.name, logger_provider=self._logger_provider)

It's necessary to provide schema_url when populating any attributes (see #4316, also there are exception attributes).

Part of open-telemetry/community#1751

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions