Quick Log Access
View logs
Press Enter to load logs. ClawControl connects via SSH and fetches the last 200 log lines:
Understanding Log Entries
OpenClaw logs use journalctl format:Log Levels
Logs are color-coded by severity:-
Info (white): Normal operations
-
Debug (gray): Detailed diagnostic information
-
Warning (yellow): Potential issues
-
Error (red): Failures and errors
Common Log Patterns
Startup Sequence
Normal OpenClaw startup:Message Processing
Error Examples
API Key Invalid:Log Filtering
View specific log types directly via SSH:Errors Only
Warnings and Errors
Last Hour
Date Range
Troubleshooting with Logs
Bot Not Responding
Check if service is running
Look for startup messages:If missing, check for errors or restart messages.
AI Responses Failing
High Memory Usage
Verify server size
From
/status, check your deployment:- Minimum: 2GB RAM
- Recommended: 4GB RAM for production
Advanced Log Analysis
Export Logs to File
Via SSH:Search Logs
Search for specific terms:Count Log Entries
Count errors in last hour:Monitor in Real-Time
Follow logs as they happen:Ctrl+C to stop.
Log Rotation
OpenClaw uses systemd’s journald, which automatically rotates logs:- Default retention: 1 month
- Max size: 4GB
- Location:
/var/log/journal/
View Log Disk Usage
Clean Old Logs
Remove logs older than 7 days:Performance Monitoring
Track Response Times
Search for response time logs:Monitor Message Volume
Count messages per hour:Track Errors Over Time
Errors in last 24 hours by hour:Alerting and Monitoring
Simple Health Check Script
Create a monitoring script on your server:Best Practices
What to watch for:- Startup errors: Service fails to start
- Authentication failures: API keys invalid or expired
- Rate limiting: Approaching or exceeding limits
- Network issues: Connection timeouts
- Memory warnings: Approaching system limits
- Immediate: Service down, authentication failures
- Within 1 hour: Rate limiting, network errors
- Within 24 hours: Memory warnings, performance degradation
Next Steps
- SSH Access - Advanced log analysis via SSH
- Managing Deployments - Check deployment health
- Destroying Deployments - Clean up problematic deployments