Skip to main content

runtm logs

View build, deploy, and runtime logs for a deployment. Essential for agents to debug issues and iterate on fixes.

Arguments

Options

Examples

Basic Usage

Searching Logs

Pipe-Friendly Output

JSON Output (for AI Agents)

Perfect for agents that need to parse logs programmatically:

Log Types

Build Logs

Docker build output:

Deploy Logs

Fly.io deployment output:

Runtime Logs

Application output (stdout/stderr):

Advanced Filtering

Using jq with JSON

Python Script Example

Troubleshooting

The deployment may still be in progress. Check status:
Runtime logs are only available for ready deployments. Check if the app is running:
Increase the line limit: