motia icon indicating copy to clipboard operation
motia copied to clipboard

[workbench] logs dissapear on page refresh

Open rodrigomf24 opened this issue 3 months ago • 3 comments

There seems to be an issue with workbench (client side perhaps), if I run a couple of flows while having the logs tab open, it shows the activity. If I refresh the page it looses the logs.

https://www.loom.com/share/23a2cc2096c34140b441327a14e3745d?sid=ba17bdb6-bd4e-455d-9624-d04681601b94

rodrigomf24 avatar Sep 29 '25 19:09 rodrigomf24

it was an intentional change, we thought logs are ephemeral and not quite necessary to see logs from past runs, but we can add, since you're thinking it was a bug it makes sense to store it

sergiofilhowz avatar Sep 29 '25 19:09 sergiofilhowz

we didn't want to manage the logs size because it can get quite massive if we keep them

sergiofilhowz avatar Sep 29 '25 19:09 sergiofilhowz

It might be worth to allow the log allocation to be configured to a file in a volume (either for cloud or in docker), the alternative is to pipe the logs into datadog but then it defeats the purpose of the observability tools in motia

rodrigomf24 avatar Oct 03 '25 17:10 rodrigomf24

Fixed with Newrelic logs persistence

ytallo avatar Dec 03 '25 17:12 ytallo