Hi all, is there a quick way to dump Prefect logge...
# ask-community
a
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
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
awesome, thanks alot Kevin!
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 Kho - ^
k
Feel free to chime in too Kevin! The answer here is yes.
a
haha thanks!