Vendor: RakeshJakhar · Module: LogManagerPro · Version: 1.0.0
View, search, live-tail and manage Magento log files and exception reports directly from the admin panel — no SSH required. Includes critical-error email alerts.
- Dashboard — every
var/log/*.logfile as a card with size, last-modified age and a recent severity badge (errors / warnings / healthy), plus summary metrics. - Terminal viewer — dark, color-coded viewer with severity chips (Emergency → Debug), full-text search, selectable line count (100–2000), and collapsible stack traces.
- Live tail — one-click auto-refresh that polls only when the file has changed (
tail -fin the browser). - Exception reports — browse and pretty-print
var/reportfiles without touching the server. - Download & Clear — download any log or truncate it (with automatic timestamped backup, configurable). Each action has its own ACL permission, so you can grant clients view-only access.
- Critical alerts — a cron job scans logs every 5 minutes and emails new CRITICAL / ALERT / EMERGENCY (optionally ERROR) entries to configured recipients. Only new entries are reported (byte-offset tracking), so no duplicate spam.
- Performance-safe — files are read backwards from the end in bounded chunks; a multi-GB log loads in milliseconds with flat memory usage.
- Secure — strict file-name whitelisting (no path traversal possible), form-key protected POST for destructive actions, ACL on every controller.
Copy the module into your project (the zip already has the right structure):
cd /var/www/html/magentoUnzip & upload it to app/code/RakeshJakhar_LogManagerPro/
Then enable it:
bin/magento module:enable RakeshJakhar_LogManagerPro
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f # production mode only
bin/magento cache:flush- Admin menu: System → Log Manager Pro
- Configuration: Stores → Configuration → Rakesh Jakhar → Log Manager Pro
- General: enable/disable, default lines per view, live-tail refresh interval, backup-before-clear
- Critical Error Alerts: enable, recipient emails (comma-separated), include ERROR level
- Permissions: System → Permissions → User Roles → role → Role Resources → Log Manager Pro (View / Download / Clear are separate resources)
Alerts require a working Magento cron (bin/magento cron:run scheduled on the server).
- The first alert-cron run only records current file positions; alerting starts from the next run onward (prevents a flood of historical errors on install).
- Clearing a log with backup enabled creates
name.log.bak-YYYYMMDDHHMMSSnext to the original. Backups are excluded from the dashboard (only*.logis listed). - Compatible with Magento 2.4.x, PHP 8.1+.





