HubDocs

Guides

Logs and shell

Read deployment and runtime logs or inspect a running service.

View Markdown

Check recent output

CLI
hub app my-app logs

The command prints recent output and exits. During a build, it shows the build log.

Watch a running app

CLI
hub app my-app logs --follow

Reproduce the problem while watching. Press Ctrl-C to stop.

Investigate a failed deployment

CLI
hub app my-app logs --build

Read the error, fix the source, and deploy again. Build logs stay with releases; runtime logs may reset when services are replaced.

Open a shell

CLI
hub app my-app shell

Use Ctrl-D to exit. Shell access requires the member role or higher.

Log options · Run one command · Scripted checks

On this page