# Fly Logs missing after rolling restart?

**URL:** <https://community.fly.io/t/fly-logs-missing-after-rolling-restart/26554>\
**Category:** Questions / Help\
**Tags:** logs, grafana, login-only\
**Created:** [December 1, 2025, 6:42pm UTC](https://community.fly.io/t/fly-logs-missing-after-rolling-restart/26554 "2025-12-01T18:42:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NorthstarTodd](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/northstartodd/32/43563_2.png) [@NorthstarTodd](https://community.fly.io/u/NorthstarTodd)\
**Post date:** [December 1, 2025, 6:42pm UTC](https://community.fly.io/t/fly-logs-missing-after-rolling-restart/26554/1 "2025-12-01T18:42:20Z")

</div>

Hello,

My app experienced a spike of HTTP 422 errors this morning causing it to crash. After I restarted the machines, the app worked as expected. When I checked Grafana to see what caused the 422 errors, there was no logging from before the restart. Now I’m unable to troubleshoot what may have caused the app to crash.

Is this expected behavior, or can the logs for that instance be viewed elsewhere?

Thank you!

---

<div class="post-metadata">

**Author:** ![mayailurus](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/mayailurus/32/17593_2.png) [@mayailurus](https://community.fly.io/u/mayailurus)\
**Post date:** [December 1, 2025, 11:41pm UTC](https://community.fly.io/t/fly-logs-missing-after-rolling-restart/26554/2 "2025-12-01T23:41:02Z")

</div>

Hi… `fly logs -a app-name` should give you the most recent 100 entries, in principle.

(However, that will tend to be missing the same time slots the Grafana view lacks, since they’re based on the same persistent store, as I understand it.)

There is also typically a delay in log entries reaching the historical store. I.e., often, you can see them in the live [NATS stream](https://fly.io/docs/monitoring/logs-api-options/#2-subscribe-to-logs-via-nats-experimental) but not in the output of a _freshly_ started `fly logs` invocation yet.

Overall, gaps are not really unusual in the retrospective (i.e., historical) log entries. The following thread has several reports from a few days ago:

[https://community.fly.io/t/grafana-showing-no-data-for-all-our-apps/26490](https://community.fly.io/t/grafana-showing-no-data-for-all-our-apps/26490)

It seems unlikely that the restart itself caused the gap that you saw, though. I tried a `fly app restart` on a test app here and it didn’t lose anything. (Although it did take a minute or so for the new boot to appear in `fly logs --no-tail`.)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [December 9, 2025, 11:25am UTC](https://community.fly.io/t/fly-logs-missing-after-rolling-restart/26554/4 "2025-12-09T11:25:38Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
