sdk: use context instead of trace_id,span_id for initializing LogRecord by emdneto · Pull Request #4653 · open-telemetry/opentelemetry-python

xrmx

xrmx approved these changes Jun 23, 2025

DylanRussell

DylanRussell

tammy-baylis-swi

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

@emdneto

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

@emdneto

@lzchen

@xrmx

@xrmx xrmx enabled auto-merge (squash)

June 26, 2025 14:09

JWinermaSplunk pushed a commit to JWinermaSplunk/opentelemetry-python that referenced this pull request

Feb 17, 2026
…rd (open-telemetry#4653)

* sdk: use context instead of trace_id,span_id for initializing LogRecord

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* fix assert

* add changelog

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* leave the warning as before

---------

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>

JWinermaSplunk pushed a commit to JWinermaSplunk/opentelemetry-python that referenced this pull request

Feb 17, 2026
…rd (open-telemetry#4653)

* sdk: use context instead of trace_id,span_id for initializing LogRecord

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* fix assert

* add changelog

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* leave the warning as before

---------

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>