mageprince/module-log-viewer
最新稳定版本:1.0.7
Composer 安装命令:
composer require mageprince/module-log-viewer
包简介
Magento 2 Log Viewer Extension
README 文档
README
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
统计信息
- 总下载量: 8.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 34
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-07-18