Server Logs & Monitoring
The log viewer provides real-time access to platform logs, helping you debug issues, monitor performance, and track system health.
Accessing Logs
- Navigate to Admin → Logs from the sidebar.
- The log viewer displays the most recent log entries.
Log Viewer Features
- Real-time Streaming — Logs appear as they're generated (when connected via WebSocket).
- Table View — Structured table with sortable columns for timestamp, level, source, and message.
- Terminal View — Command-line style log output for those who prefer raw text.
- Detail Panel — Click a log entry to see full details including stack traces and metadata.
Filtering Logs
Use the filter bar to narrow down logs:
- Search — Free-text search across log messages.
- Level — Filter by log level: DEBUG, INFO, WARN, ERROR, FATAL.
- Source — Filter by log source (API, auth, deployment, etc.).
- Date Range — View logs from a specific time period.
Log Statistics
The stats panel shows aggregated information:
- Log Volume — Total logs per hour/day.
- Error Rate — Percentage of error-level logs.
- Top Sources — Which components generate the most logs.
- Recent Errors — Quick view of the latest error messages.
Connection Status
The connection indicator shows whether you're receiving real-time logs:
- Green — Connected and streaming.
- Yellow — Reconnecting.
- Red — Disconnected (logs are still available via polling).
Log Settings
Configure log behavior under Logs → Settings:
- Retention Period — How long logs are kept before automatic deletion.
- Log Level — Minimum level to capture (set higher to reduce volume).
- Notification Rules — Get alerts for specific error patterns.