Skip to content

LogDeprecatedInitWarning #4687

@medaminezghal

Description

@medaminezghal

opentelemetry.sdk._logs._internal.LogDeprecatedInitWarning: LogRecord init with trace_id, span_id, and/or trace_flags is deprecated since 1.35.0. Use context instead.

I think the emit function should be edited to match the new deprecation warning.

When I use it for test in another package, it fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions