Is there a way to view logs of my app?

Hi,
I’m using fly.io for about a week and I loved the service. But I’m not sure if there’s a way to view application output logs. I know that I can do that by clicking on the top right “Running” button and that will show latest logs, however I want to check some old logs. Is that possible?

We only store logs for the past 48h, one possible way to store old logs would be creating a log shipper app:

You can configure it to store logs from one or many apps, from one or many instances, one or many regions.

Here’s a blog post about that: Fly Logs over NATS

Another option if you don’t want to use an external provider, Local Logging Setup

1 Like