How to View Logs in App Platform

App Platform is a Platform-as-a-Service (PaaS) offering that allows developers to publish code directly to DigitalOcean servers without worrying about the underlying infrastructure.

You can view application, build, and deploy logs in App Platform both in the control panel and from the command line. You can also enable log forwarding to forward application logs to external log providers.

View Logs from the Control Panel

To view app resource logs, go to and click on your app. Click on the Runtime Logs tab, then click on a resource to view its logs. The logs show within a few minutes after the app deploys. The logs are updated in real-time while the resource is running.

Logs screen

To view build and deploy logs, go to, click on your app, and click on the Activity tab. Click on any event in the deployment history to view all logs that were generated at build and deploy time.

View Logs on the Command Line

To view logs by using the command line, install doctl, then use the doctl apps logs command. You can set type to build, deploy, or run to view the logs for those events.

doctl apps logs <app id> <resource name> --deployment <deployment id> --type <type value>

You can retrieve the app ID or deployment ID with doctl apps list and doctl apps list-deployments <app id>, respectively.