Join Slack
Powered by
Quick question. Is there a recommended method for ...
# prefect-getting-started
j
Joey Allison
01/05/2024, 5:33 PM
Quick question. Is there a recommended method for logging in a custom retry handler ala
retry_condition_fn
as seen in
https://docs.prefect.io/latest/concepts/tasks/#custom-retry-behavior
?
Joey Allison
01/05/2024, 8:35 PM
I figured it out. You can use
get_run_logger()
inside the handler just like a task or flow.
thank you
1
Open in Slack
Previous
Next