Log Management
Log Management brings every log on the server into one place, across six tabs: a summary overview, searchable web access logs, multi-service error logs, the panel's own audit trail, complete logrotate configuration, and storage housekeeping. Everything is read safely, filtered server-side, and exportable.
Monitoring → Logshttps://YOUR-SERVER-IP:8443/monitoring/log-managementThe active tab lives in the URL hash, so you can bookmark or link straight to #access or #logrotate.
Overview
The Overview tab is a single dashboard of the whole logging picture, auto-refreshing (off, 30s, 60s or 5m). Four metric cards, each clickable through to its tab, show total log entries (with error/warning split), error rate, HTTP requests (with 2xx/4xx/5xx breakdown) and log disk usage. Below, panels break down errors by source, an HTTP overview (methods, status codes, bandwidth, top IPs), logrotate status with a critical-size alert, the last error, and a full storage-by-category table.
Access Logs
The web server access logs (nginx and Apache, including per-domain logs), with real server-side pagination and filtering. Search by URL or IP, and filter by method, status class (2xx/3xx/4xx/5xx), source log and date (last hour through 30 days, or a custom range). An optional auto-refresh (5/10/30s) turns it into a live tail. Each row shows time, IP with its country flag, method, status, URL and size (response time appears only when the log format records it); click for a detail view with the full URL, referer, user-agent and raw log line. Export CSV saves the current page.
Error Logs
Errors from across the stack, parsed from PHP, nginx, Apache, MySQL, PostgreSQL and the panel backend into one stream. Filter by level (critical, error, warning, info, debug, notice), source and date, and search the messages. Each row is colored by level; the detail view shows the file and line, the full message and the raw log. Export to CSV is available, and pagination is server-side.
System Logs (the audit trail)
Filter by event type (grouped by category), severity (info/warning/critical) and date, search across user/IP/details, and export to CSV. Rows are color-edged by severity with a human-readable relative time; the detail view pretty-prints the full event JSON.
Logrotate
Full management of log rotation, the mechanism that keeps logs from filling the disk. The tab lists every relevant config (filter by All / System / Panelica) with its log path, frequency, how many rotations it keeps, whether it compresses, its current size (flagged red past 500 MB) and file count.
- System configs (nginx, MySQL, fail2ban and the like) are read-only, but you can Test them (a
logrotate -ddry run) and Force Rotate them. - Panelica configs you can fully Create, Edit and Delete, plus test and force-rotate.
- A panel log directory with no config yet appears with an Enable button that pre-fills a new config for it.
The create/edit form covers frequency (daily/weekly/monthly), rotations to keep, optional max size, and the compress/delay-compress/missing-ok/not-if-empty/copy-truncate options, plus create ownership and a post-rotate script. A built-in usage guide explains each option.
panelica-* configs can be edited or deleted, so the panel can never damage a system logrotate config. Force-rotate and dry-run run the real logrotate binary.Settings
Three sub-sections for housekeeping:
- Storage: a table of 20-plus log categories (Panelica services and OS logs) with size, file count, rotation and last-modified. Clear a category (keeping logs newer than N days), Download it as a zip, or Clear All behind a typed confirmation.
- Display: default sort, items-per-page and retention for the audit, access and error views.
- Auto Cleanup: enable a scheduled cleanup at a chosen time, with a retention summary.
Access
ROOT and ADMIN only (enforced at the backend for the whole logs section); there is no license gate. See roles and permissions.