Hello, Just exploring Prefect 2.x. Currently looki...
# ask-community
p
Hello, Just exploring Prefect 2.x. Currently looking at on_complete and on_failure hooks. Looking at logging within these blocks of code. If I call get_run_logger I get "prefect.exceptions.MissingContextError: There is no active flow or task run context." and if so a simple print it does not show up in the log. Is there a way for logs in these hooks to be logged? Thanks