Join Slack
Powered by
Hi all, is there a quick way to dump Prefect logge...
# ask-community
a
Arfa
11/17/2021, 9:12 PM
Hi all, is there a quick way to dump Prefect logger output to a file for local storage at the very end of a flow run? Thanks!
k
Kevin Kho
11/17/2021, 9:14 PM
Hey
@Arfa
,
this
is very close to it I think. I think you will need a Cloud triggered run to get Prefect logs.
🙌 1
a
Arfa
11/17/2021, 9:16 PM
awesome, thanks alot Kevin!
Arfa
11/18/2021, 8:31 PM
Hi
@Kevin
, I am thinking of using
prefect get logs --id <flow_run_id>
to get the logs, will this work on Prefect server?
k
Kevin
11/18/2021, 8:32 PM
@Kevin Kho
- ^
k
Kevin Kho
11/18/2021, 8:33 PM
Feel free to chime in too Kevin! The answer here is yes.
a
Arfa
11/18/2021, 8:35 PM
haha thanks!
7
Views
Open in Slack
Previous
Next