Repository navigation
[Feature Request] Retain application (container) logs across deploys — built-in persistence/retention #10785
Replies: 3 comments
|
I completely agree, this would be a really helpful feature! Possibly an extension to this feature, it is very frustrating that there isn't a log of deploys when using Docker Based applications like "Docker Compose Empty". In other application types like the Git based, there are historical logs showing that a deploy happened, when and what triggered it. As per the original feature request, if each of these retained the actual deploy logs too, that would be ideal |
|
Yeah I agree for example if the app crashes you can't see the logs as to why it crashed within coolify ui |
|
Even a simple text file, created to store the logs in case of a crash, overwritten on new crashes, deleted when the app successfully starts would be a huge help in debugging! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
Application container logs in Coolify are ephemeral. Every new deploy/build creates a new container, so the previous container's
stdoutlogs are lost. When something fails on a deploy, I can't go back and inspect the logs from the previous container — they're already gone.This makes post-mortem debugging hard: by the time I notice an issue and want to look at what happened, a redeploy (or auto-deploy on push) may have already replaced the container and wiped its logs.
What I'd like
A built-in way to persist/retain application runtime logs across deploys, without having to wire up an external stack myself. For example, any of:
stdout/stderrto a managed location that survives container recreation, viewable from the same Logs UI.What exists today (and why it's not enough)
rather than being a platform feature. It's also single-host (lost if the server dies).
max-size/max-fileincreases in-container retention but a new container still starts empty, so it doesn't solve cross-deploy persistence.Why built-in would help
Keeping the last deploy's logs available in the Coolify UI — even briefly — would massively help debugging failed/rolled-back deploys, without every user having to build their own log pipeline.
Environment
Related discussions
Related existing discussions (overlapping but not the same request):
This request is specifically about a first-class, built-in way to keep the previous deploy's application logs available in the Coolify UI, without standing up an external log stack.
All reactions