Guides
Logs and shell
Read deployment and runtime logs or inspect a running service.
Check recent output
hub app my-app logsThe command prints recent output and exits. During a build, it shows the build log.
Watch a running app
hub app my-app logs --followReproduce the problem while watching. Press Ctrl-C to stop.
Investigate a failed deployment
hub app my-app logs --buildRead the error, fix the source, and deploy again. Build logs stay with releases; runtime logs may reset when services are replaced.
Open a shell
hub app my-app shellUse Ctrl-D to exit. Shell access requires the member role or higher.