Back to articles
runpod-log: A CLI Tool for Viewing RunPod GPU Pod Logs

runpod-log: A CLI Tool for Viewing RunPod GPU Pod Logs

via Dev.to Pythonrick

Why I Built This RunPod is great for spinning up GPU pods, but there's one frustrating gap: you can't view pod logs from the CLI . The official runpodctl lets you start, stop, and manage pods — but if you want to check logs, you're forced to open the web console every time. This is especially painful when you're managing multiple pods or trying to build automation scripts. So I built runpod-log , a simple CLI tool that fetches RunPod GPU pod logs directly in your terminal. Features Fetch logs instantly — get both container logs and system logs in one command Real-time monitoring — stream logs to a file with the tail command Automatic authentication — browser-based login via Playwright with automatic JWT token refresh Installation pip install runpod-log Usage # Login (opens browser for authentication) runpod-log login # Fetch logs for a specific pod runpod-log logs <pod-id> # Filter by log type runpod-log logs <pod-id> --only container runpod-log logs <pod-id> --only system # Real-time

Continue reading on Dev.to Python

Opens in a new tab

Read Full Article
2 views

Related Articles