<@ULVA73B9P> Why doesnt the logs from the Subflows...
# ask-marvin
s
@Marvin Why doesnt the logs from the Subflows doesnt showup in logs of the parent flow?
m
The logs from subflows may not show up in the logs of the parent flow due to different versions of the worker or agent that created them, especially when running in different environments. If your worker and flow both use the latest official Docker image, but your worker was created a month ago, your worker will often be on an older version than your flow. Also, keep in mind that integrations are versioned and released independently of the core Prefect library. They should be upgraded simultaneously with the core library, using the same method. In many cases, there will be an informative stack trace in Prefect's logs. Read it carefully, locate the source of the error, and try to identify the cause. There are two types of logs: Flow and task logs. For more detailed information, you may want to check the Prefect troubleshooting guide.
n
this is by design, subflows are separate flow runs in the backend, logs are scoped by flow run
thank you 1