The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

539 Modules
305 Ready
196 Need Help
🏆 Leaderboard
Actively Maintained v1.0.7

Magento 2 Log Viewer

mageprince/module-log-viewer

Enables viewing, searching, and managing Magento log files directly from the admin panel. Allows downloading and deleting logs without server access.

7,863
Downloads
Below average
34
GitHub Stars
Below average
13d ago
Last Release
0
Open Issues
Not Tested
Awaiting results

Build Tests

Composer Install
DI Compile
Templates

Code Quality

Coding Standard
PHPStan

Recent Test History

Each release is tested against the latest Magento version at that time.

No test history available yet.

Share This Module's Status

Magento 2 Log Viewer Magento compatibility status badge

README

Loaded from GitHub

Magento 2 Log Viewer

Mageprince Log Viewer is a powerful admin utility that allows you to manage, monitor, and debug log files directly from the Magento Admin Panel — without needing to access the server or filesystem.

✅ Compatibility

Magento Open Source: 2.3.x - 2.4.x

✨ Key Features

  • View Magento log files (var/log/) directly in the admin panel
  • Live log view with auto-refresh
  • Display latest log lines with “Load Previous” functionality
  • Option to toggle line wrapping for better readability
  • Search log files by filename
  • Sort logs by filename, or last updated time
  • Download or delete log files from admin
  • Pagination support for large log directories
  • Admin configuration for:
    • Enable/disable the extension
    • Set number of log lines to show
    • Set how many log files to list per page
    • Define default sort column and direction
    • Restrict allowed file types
    • Allow or restrict file deletion
    • Allow or restrict file download

🚀 Installation Instructions

1. Install via composer (Recommended)

Run the following Magento CLI commands:

composer require mageprince/module-log-viewer
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

2. Manual Installation

Copy the content of the repo to the Magento 2 app/code/Mageprince/LogViewer

Run the following Magento CLI commands:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

🤝 Contribution

Want to contribute to this extension? The quickest way is to open a pull request on GitHub.

🛠 Support

If you encounter any problems or bugs, please open an issue on GitHub.

📸 Screenshots

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.