App Platform logs and live tail, on your iPhone
App Platform logs are the build, deploy and runtime output that DigitalOcean App Platform records for each app; build and deploy logs are kept for 90 days. Duskwatch is an independent iPhone app for DigitalOcean, in development; it shows those logs on your iPhone, follows runtime logs live and shares an excerpt when you need a second pair of eyes.
Updated
- 4log types: build, deploy, runtime and crash
- Livetail of runtime lines, like doctl --follow
- 0log lines reach the alert server
- UTCtime range in every shared excerpt's header
01Log types
Build, deploy, runtime and crash logs
Each log answers a different question. A failed deploy names the stage that failed, and an unhealthy component offers its crash logs first.
Build
Did the code compile? Read it when a deploy failed before anything started.
Deploy
Did the new version start and pass its checks? Read it when the build passed but nothing went live.
Runtime
What the live app is doing right now: the log you follow live.
Crash
An instance's last output before it crashed, one tap from the component screen.
From DigitalOcean's docs
App Platform keeps build and deploy logs for 90 days. To retain runtime logs, DigitalOcean says to forward them to an external provider.
DigitalOcean docs: view App Platform logs (external link), verified
Crash logs record the output from an instance before it crashed, with a potential reason for the crash.
DigitalOcean docs: view App Platform logs (external link), verified
Levels, filters and search
Lines are colour-coded by level, errors and warnings also carry a symbol, and VoiceOver reads the level, so an error reads as an error without colour. Filter by level, or search and step from one match to the next.
02Live tail
Live tail, like doctl on a laptop
On a laptop you would run "doctl apps logs api-prod --follow". Live tail does the same on the phone: runtime lines appear as the app writes them.
- The view follows the newest line until you scroll up to read; Follow takes you back to the bottom.
- It is the quickest way to see whether a restart or a rollback actually stopped the errors.
From DigitalOcean's docs
The doctl flag --follow returns logs as they are emitted by the app, and --type selects the log type, such as build, deploy or run, with run as the default.
03Failed deploys
From a failed deploy to the failing lines
The deploy card answers the first question, whether users are affected, before you read a single log line.
- 1
Still live: 3f2a91c · since 22:40
Users still get the last good version.
- 2
Likely cause: api didn't pass its health check
Labelled as likely, from the failed step or log lines you already opened.
- 3
Open the log of that stage
If the same failure repeats, the app says so: the fix belongs in code, not in another redeploy.
- 4
Redeploy
With a swipe and Face ID; a Live Activity follows it to Live.
05Privacy
Where your logs go
Logs travel only between your iPhone and DigitalOcean, using the sign-in on your iPhone. The full data map is on the security page.
Never on our server
The alert server never reads or stores a log line.
Alerts without logs
Pushes come from deploy, health and restart data, never from what a log line says.
A reader, not an archive
To keep runtime logs longer than App Platform does, forward them from DigitalOcean to a log provider.
What Duskwatch doesn't do here
- No droplet or system logs: use your SSH app
- No log storage or archive
- No alerts on log lines or patterns
- No log forwarding setup
- No Kubernetes pod logs
Questions
Can I tail App Platform logs from my phone?
Yes. Live tail shows runtime lines as your app writes them, like "doctl apps logs --follow" on a laptop.
Which logs can I read?
Build, deploy, runtime and crash logs for each App Platform component. A failed deploy names the stage that failed, so you know which log to read.
Do you store my logs?
No. Logs travel only between your iPhone and DigitalOcean, and the alert server never sees them.
Can I see droplet logs?
No. Duskwatch reads App Platform logs only; for a droplet, open it in your SSH app from the droplet screen.
How do I share a few lines with a teammate?
Long-press to select the lines, then tap Share excerpt. A header names the app, component, log type, deployment and UTC time range.