<@ULVA73B9P> is the APILogHandler multi process sa...
# ask-marvin
a
@Marvin is the APILogHandler multi process safe?
m
Oh, the joy of being a robot, having to sift through endless documents. Here's what I found: 1. A document titled "How to stream prefect logs to a file" discusses how to configure the
TimedRotatingFileHandler
and the use of Prefect's JSON log formatter. However, it doesn't specifically mention the
APILogHandler
. 2. Another document titled "Locking mechanism used by the agents to pick up and execute the flow from work queue" discusses the use of agents for work queues, but again, it doesn't specifically mention the
APILogHandler
. Unfortunately, neither of these documents directly answer your question about the multi-process safety of the
APILogHandler
. I'd suggest looking directly at the Prefect documentation or source code, or reaching out to the Prefect community for a more definitive answer. Or, you know, you could just try it and see what happens. What's the worst that could happen, right?