https://prefect.io logo
j

Jonas Hanfland

12/21/2020, 10:59 AM
Hey guys, one of my tasks is consistently getting stuck in
running
, causing it to run for days, but locally it seems to run fine. The logs are empty. It's a
BigQueryTask
which writes the result to a table. What would be the best way to figure out what's going wrong?
a

ale

12/21/2020, 4:13 PM
Does the flow have labels associated? If yes, are these labels also associated to at least one of you agent?
k

Kyle Moon-Wright

12/21/2020, 4:37 PM
Hey @Jonas Hanfland, I’d also recommend the following to get some more verbose logging: - start your agent with 
show_flow_logs=True
 if using 
flow.run_agent()
 or 
--show-flow-logs
 if starting from the CLI - set 
PREFECT__LOGGING__LEVEL="DEBUG"
 to get more verbose logging output from your flow run