Joe Schmid
04/30/2020, 8:45 PM[2020-04-30 20:35:05,397] INFO - agent | Found 1 flow run(s) to submit for execution.
[2020-04-30 20:35:05,397] DEBUG - agent | Updating states for flow run f7912fd5-8ce3-4048-8cfe-965a15d46845
[2020-04-30 20:35:05,400] DEBUG - agent | Flow run f7912fd5-8ce3-4048-8cfe-965a15d46845 is in a Scheduled state, updating to Submitted
[2020-04-30 20:35:05,505] INFO - agent | Deploying flow run f7912fd5-8ce3-4048-8cfe-965a15d46845
[2020-04-30 20:35:05,519] DEBUG - agent | Submitted flow run f7912fd5-8ce3-4048-8cfe-965a15d46845 to process PID 46552
[2020-04-30 20:35:05,608] DEBUG - agent | Completed flow run submission (id: f7912fd5-8ce3-4048-8cfe-965a15d46845)
[2020-04-30 20:36:22,277] INFO - agent | Process PID 46552 returned non-zero exit code
Is there a good way to (a) have the flow runner in process or (b) see log output from the subprocess?Joe Schmid
04/30/2020, 8:47 PMChris White
--show-flow-logs
you should see the flow run logs in the agent processJoe Schmid
04/30/2020, 8:49 PMJoe Schmid
04/30/2020, 8:52 PMChris White
Joe Schmid
04/30/2020, 9:11 PMdask_cloudprovider.providers.aws.ecs
Popen is calling prefect execute cloud-flow
Joe Schmid
04/30/2020, 9:13 PMJoe Schmid
04/30/2020, 9:14 PMChris White
Joe Schmid
04/30/2020, 10:34 PMChris White
prefect agent start -e LOGGING_ENV_VAR=val
to pass the environment variable to each flow run, but whether that works depends on the package probably