Logs are captures of the standard output stream that you can inspect for information about activity related to your app. Anything you would see in a terminal if your app was running locally on your machine is captured here. It's good practice to print well-labeled and helpful details about the operations your app performs because that information is invaluable when troubleshooting.

Viewing the logs in the App Platform dashboard lets you see real-time logs, which can accumulate quickly if your app is seeing activity. You can view historical logs with tools like doctl or the API.

See some common troubleshooting techniques for App Platform.
View application, build, and deploy logs in App Platform