Report this

What is the reason for this report?

How to use doctl apps logs with --type=run_restarted

Posted on November 18, 2025

Hi,

I am following the documentation here: https://docs.digitalocean.com/products/app-platform/how-to/view-logs/#crash-logs

And it says that in order to get the crash logs I must use the doctl CLI.

However I am running the command below, takes around 1 minute to complete but outputs nothing:

doctl apps logs <my_app_id> <my_component_name> --type=run_restarted

The same command, but using --type=run works fine.

I can confirm my app crashed a few hours ago by looking at “Insights” tab in App Platform, but I don’t know why, and I am looking for an answer.

Can anybody help me?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.