William Grim
10/14/2021, 6:06 PMprefect.context.get("logger")
, but is there a better place where I can hook up my own log handlers?
For example, we are going to write a log handler that can send agent/flow logs to a central location like kafka or s3 or datadog or whatever. We haven't exactly decided the target location yet, but we do know we want a central space, and I'm just trying to find the best place to configure and hook up our custom log handler.Zanie
@task
decorator (or a Task
subclass) that injects your custom log handler into the context for each task at runtime if it doesn't already exist.Zanie
Zanie
Anna Geller
William Grim
10/22/2021, 4:02 AMWilliam Grim
10/22/2021, 4:03 AM