Logs
Runtime logs in one explorer, build logs on each deployment. Search across services, environments or the whole team, follow lines live and keep runtime logs if you want them.
Every line a running service writes, plus its rollout and health checks, is collected in the Logs tab of a project. You can search it like a document, filter it by service, level or server, and follow new lines live.


Where logs come from
launchroom collects two kinds of lines:
- Build and deploy logs: everything a deployment prints, including the build, release commands, the rollout and health checks. They are stored with the deployment and kept as long as the deployment exists. Open a deployment to read its log step by step. Build output stays there; the rollout and health check lines also show in the explorer.
- Runtime logs: what your services write to stdout and stderr while they run. Production keeps them for a day by default, other environments show them live. Change retention per environment to store every line for longer.
Secret values are masked before lines are stored. If a variable marked secret shows up in a build or deploy log, you see a placeholder instead of the value. Logs are always shown as text, never rendered as HTML.
The Logs explorer
Open a project and choose Logs. The explorer has one toolbar, a histogram, a filter rail and the lines themselves.
- Range: 15 min, Hour, Day, Week or Month, starting on Day. Every page with a time range offers Hour, Day, Week and Month; 15 min is only here. When nothing matches, the empty state has options to widen the range or follow live. Logs and both views of Analytics keep the range and service when you switch between them.
- Histogram: lines over time, with errors stacked in red and a marker for every deploy (failed deploys in red). Hover a marker to see its service and commit, and click it to open the deployment. Click a bar to look at only that stretch of time, or drag across several bars to pick a window. The window shows as a chip in place of the range, for example "10:00 to 10:04 ×". Clear it to go back to the whole range. When all matching lines sit in a small part of the range, the histogram zooms to that part and the line under it says so. Show the last 30 days (or whichever range you picked) shows the whole range again.
- Filter rail: counts per level, environment, service, deployment and server. Click a value to filter by it. Groups with many values have their own search field. On a phone, the rail opens from Filters.
- Lines: warnings and errors carry a coloured level word. Other levels stay quiet.
- Detail drawer: click a line to see its facts (level, stream, service, environment, replica, server, commit) and similar lines. Next to each fact, Only this narrows the search to that value and Hide this leaves it out. The deployment and server link to their pages. Surrounding lines shows what was logged around the line from the same place, and Back to results returns to your search. The copy menu copies the message, the line as JSON or a link to the line.
Each service also has a Logs tab in its panel with the same explorer, scoped to that service.
Build output (planning, building and the release command) isn't in the explorer. It belongs to its deployment: open the deployment to read it step by step. Rollout and health check lines stay in the explorer next to what your services print.
Search syntax
Type into the query bar. Free text matches anywhere in a line. Quoted phrases match as a whole. Filters narrow the result:
| Filter | Example | Matches |
|---|---|---|
service: | service:api | Lines from one service |
level: | level:error | error, warning, info or debug (err, fatal and warn work too) |
environment: | environment:staging | Lines from one environment |
project: | project:shop | Lines from one project (team-wide search) |
deployment: | deployment:dpl_… | Lines of one deployment |
server: | server:fra-1 | Lines from replicas on one server |
stream: | stream:stderr | stdout or stderr |
Put - in front of a filter to exclude it: service:api -level:debug "connection refused". The query is part of the URL, so you can share a search with a teammate.
Search runs on the server, so it covers the whole range instead of only the lines loaded in your browser. The count line shows how many lines matched. Large results show the newest 5,000.
Download lines
The download button after Live saves the search as a file:
- Lines on screen: the lines loaded in your browser.
- All matching (up to 10,000): the same search run again on the server, the newest 10,000 matching lines, oldest first.
Both come As text (one line each with time, level, service and message) or As NDJSON (one JSON object per line). Downloading needs the same permission as searching: anyone who can see the project can download its logs, and the team-wide download is for owners and admins.
Search across environments and the team
On a project's Logs tab, a switch next to the source sets the scope: the current environment or All environments of the project. Owners and admins also get a team-wide Logs page in the sidebar that searches every project at once. In wide scopes the service cell shows where a line came from, for example "staging / web".
Live following works inside one environment only.
Paste a ray
Paste a ray in the toolbar of a project's Logs tab and the team's Logs page takes the ray from a response's X-Launchroom-Ray header and shows where that request went. From the ray, Open logs comes back here with the lines of that minute that contain the request's id. See Rays.
Follow live
Press Live to stream new lines as they are written. launchroom starts a short-lived tail on every replica of the environment's live deployments and keeps it running while the page is open. Tails are renewed every few minutes and stop when you leave. New lines appear within about two seconds.
A tail follows its replica across restarts. When the container exits, a line such as "The container exited with code 1." appears, then "The container started again (restart 2)." when Docker starts it again. A replica that has exited shows its last lines and continues when it starts. A replica without a tail is listed under Live with the reason, for example that its server is offline or that it never started.
Even without retention, the last 100 lines of a container launchroom stopped or replaced go into its deployment's log, and the lines of a crashed run go with its exit.
You can follow logs from a terminal too:
launchroom logs -fSee the CLI reference for --service, --since and --source.
Keep runtime logs
Production environments keep runtime logs for 1 day, up to 256 MB, from the start. Other environments don't keep them: runtime lines are visible while you follow them. To store more, or to keep logs of another environment, change retention per environment:
Open the project's log settings
In the project, open Settings → Logs. Each environment has its own card.
Turn on "Keep runtime logs"
Switch it on for the environments you want, for example production.
Choose a period and a size cap
Pick how long to keep lines and how much space they may use, then Save.
| Setting | Options | What happens at the limit |
|---|---|---|
| Keep for | 1, 3, 7, 14 or 30 days | Older lines are deleted |
| Up to | 256 MB, 1 GB, 5 GB or 10 GB | The oldest lines go first |
The change applies right away to running services, without a restart. Each server ships the logs of that environment's replicas continuously and resumes where it left off after an interruption. The card footer shows how much is stored and since when. Turning retention off stops shipping. Lines already kept then age out.
Personal data in logs
Runtime logs can contain personal data your app prints. launchroom stores them for production by default, for one day and up to 256 MB. Turn Keep runtime logs off for an environment to store nothing.
Problems found in the logs
launchroom reads the runtime logs of live apps for problems it knows: a framework that refuses its domain (Django DisallowedHost, Rails blocked hosts), form posts refused as cross-site, LiveView sockets that can't connect, and gunicorn worker timeouts. The first one it finds shows in the service panel as Seen in the logs and under Needs you, with what to do. It goes away when a newer version goes live. This works on lines launchroom stores, so it needs runtime logs kept for that environment.
Logs on the server
Every container launchroom starts writes its logs with Docker's json-file driver, limited to 3 files of 10 MB each. Rotation happens on the server without changes to your Docker daemon configuration, so a service that logs a lot can't fill the disk.
For the launchroom installation itself (dashboard, database, launchroomd), use the helper on the control-plane server:
cd launchroom
./launchroom logs # everything
./launchroom logs dashboard # one containerThrough the API
GET /api/v1/environments/{environment}/logs runs the explorer's query (with range, source, service and q, or from and to in epoch seconds for a fixed window), and …/logs/stream follows lines as server-sent events. See the API reference.
Backups to Hetzner Object Storage
Store launchroom's encrypted backups in Hetzner Object Storage, ideally in a different location than your servers.
Rays
Every response through your edge servers carries a ray in its X-Launchroom-Ray header. Paste it into launchroom to see the request's path from the visitor to your app.