Hi, is there any possibility to download task logs...
# prefect-ui
t
Hi, is there any possibility to download task logs?
s
Are you using cloud or server?
t
Server
s
Ok, afaik there is no way to download them through UI or CLI -it should be something they’re developing- but you can do it by pulling them from the metadata db (sqlite or postgres) that supports the server. I think with the flow run id it should be a very simple query.
t
Thanks. Will have a look
i
Hi Timo, You could configure a
logging.yml
(or just its relevant env variable), and make it write logs to a file, forward/download the contents periodically/as-needed https://docs.prefect.io/latest/guides/logs/#logging-configuration