https://prefect.io logo
n

Nace Plesko

10/18/2022, 3:33 PM
Hi, In Prefect 1, is it possible to somehow export the whole log file for the task as opposed to only what's shown on the screen?
1
k

Kalise Richmond

10/18/2022, 5:18 PM
Hi Nace, you could query the client for the logs from the task using something like this
Copy code
query{
 	task_run {
    name
    id
    state
    logs
    {
      message
      timestamp
    }
    }
}
🙏 1
3 Views