Documentation Index
Fetch the complete documentation index at: https://docs.cirron.com/llms.txt
Use this file to discover all available pages before exploring further.
cirron logs
View and follow logs for your Cirron project environments (development, staging, production, etc.).Usage
Options
| Option | Description | Default |
|---|---|---|
--env, -e | Target environment (dev, staging, prod, etc.) | production |
--lines, -n | Number of log lines to show (string) | “100” |
--follow, -f | Follow logs in real time (like tail -f) | false |
Examples
Show Recent Logs
Follow Logs in Real Time
Output
- Logs are timestamped and color-coded by level (INFO, WARN, ERROR, DEBUG)
- When following logs, new entries are fetched every 2 seconds
- Press Ctrl+C to stop following logs
Example Output
How It Works
Standard Mode
- Fetches the specified number of log lines (default: 100)
- Displays logs with timestamps and color-coded levels
- Exits after displaying logs
Follow Mode
- Initially fetches recent logs
- Polls for new logs every 2 seconds
- Fetches up to 50 new log entries per poll
- Continues until interrupted with Ctrl+C
- Shows a spinner while fetching logs
Troubleshooting
- No cirron.yaml: Run
cirron initto create a project config. - Not Authenticated: Run
cirron auth loginto authenticate. - No Logs Found: Check that your project has been built and deployed.
- API Errors: Check your network connection and API credentials.
Best Practices
- Use
--followduring deployments or debugging - Use
--linesto limit output for large logs - Always check logs after failed builds or deploys
- The follow mode is ideal for monitoring real-time application behavior