Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed May 28, 2024
1 parent 93a6a19 commit f6c7aaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python_modules/dagster/dagster/_daemon/backfill.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


@contextmanager
def _get_instigation_logger_if_env_var_set(
def _get_instigation_logger_if_log_storage_enabled(
instance, backfill_id: str, default_logger: logging.Logger
):
if instance.backfill_log_storage_enabled():
Expand Down Expand Up @@ -69,7 +69,7 @@ def execute_backfill_jobs(

# refetch, in case the backfill was updated in the meantime
backfill = cast(PartitionBackfill, instance.get_backfill(backfill_id))
with _get_instigation_logger_if_env_var_set(
with _get_instigation_logger_if_log_storage_enabled(
instance, backfill.backfill_id, logger
) as _logger:
# create a logger that will always include the backfill_id as an `extra`
Expand Down

0 comments on commit f6c7aaa

Please sign in to comment.