From 40a7c76aae946ebf35186df4f887d81bdb142100 Mon Sep 17 00:00:00 2001 From: Nathan Price Date: Wed, 24 Jul 2024 09:30:48 -0500 Subject: [PATCH] Updated lazy loaded logger_details --- temporalio/activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temporalio/activity.py b/temporalio/activity.py index 4de788bcd..281cfcb8d 100644 --- a/temporalio/activity.py +++ b/temporalio/activity.py @@ -459,7 +459,7 @@ def process( if self.activity_info_on_extra: # Extra can be absent or None, this handles both extra = kwargs.get("extra", None) or {} - extra["temporal_activity"] = context._logger_details + extra["temporal_activity"] = context.logger_details kwargs["extra"] = extra if self.full_activity_info_on_extra: # Extra can be absent or None, this handles both