cirron logs
View and follow logs for your Cirron project environments (PRODUCTION, DEVELOPMENT, CUSTOM).Usage
Options
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