Skip to content

Commit

Permalink
♻️ disable noisy logger for background tasks form dynamic sidecar (#5175
Browse files Browse the repository at this point in the history
)

Co-authored-by: Andrei Neagu <[email protected]>
  • Loading branch information
GitHK and Andrei Neagu authored Dec 15, 2023
1 parent be650a3 commit 4f38ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/service-library/src/servicelib/background_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def _periodic_scheduled_task(
with attempt:
with log_context(
logger,
logging.INFO,
logging.DEBUG,
msg=f"iteration {attempt.retry_state.attempt_number} of '{task_name}'",
), log_catch(logger):
await task(**task_kwargs)
Expand Down

0 comments on commit 4f38ab4

Please sign in to comment.