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?Chris White
04/30/2020, 8:49 PM--show-flow-logs
you should see the flow run logs in the agent processJoe Schmid
04/30/2020, 8:49 PMChris White
04/30/2020, 8:52 PMJoe Schmid
04/30/2020, 9:11 PMdask_cloudprovider.providers.aws.ecs
Popen is calling prefect execute cloud-flow
Chris White
04/30/2020, 10:00 PMJoe Schmid
04/30/2020, 10:34 PMChris White
04/30/2020, 10:48 PMprefect 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