Skip to content

Commit

Permalink
stop making extra loggers
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz committed Nov 14, 2024
1 parent fc250a2 commit 3a30d8a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/prefect/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ async def update_for_task(self: Self, task: "Task") -> Self:
"""
from prefect.settings import get_current_settings

logger = get_logger("results")
logger.debug(f"Updating result store for task {task.name}")
logger.debug(f"Current result store: {self}")
logger.debug(f"Task result_storage: {task.result_storage}")
Expand Down Expand Up @@ -540,7 +539,6 @@ def create_result_record(
"""
Create a result record.
"""
logger = get_logger("results")
logger.debug(f"Creating result record with key: {key}")
logger.debug(f"Current storage_key_fn: {self.storage_key_fn}")
logger.debug(f"Current result_storage: {self.result_storage}")
Expand Down

0 comments on commit 3a30d8a

Please sign in to comment.