PHPackages                             mageprince/module-log-viewer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. mageprince/module-log-viewer

ActiveMagento2-module[Logging &amp; Monitoring](/categories/logging)

mageprince/module-log-viewer
============================

Magento 2 Log Viewer Extension

1.0.7(5mo ago)4015.1k↓17.8%13GPL-3.0-or-laterPHP

Since Jul 18Pushed 5mo agoCompare

[ Source](https://github.com/mageprince/magento2-logviewer)[ Packagist](https://packagist.org/packages/mageprince/module-log-viewer)[ RSS](/packages/mageprince-module-log-viewer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)DependenciesVersions (15)Used By (0)

Magento 2 Log Viewer
====================

[](#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
===============

[](#-compatibility)

**Magento Open Source:** 2.3.x - 2.4.x

✨ Key Features
==============

[](#-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
===========================

[](#-installation-instructions)

### 1. Install via composer (Recommended)

[](#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

[](#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
==============

[](#-contribution)

Want to contribute to this extension? The quickest way is to [open a pull request](https://help.github.com/articles/about-pull-requests/) on GitHub.

🛠 Support
=========

[](#-support)

If you encounter any problems or bugs, please [open an issue](https://github.com/mageprince/magento2-logviewer/issues) on GitHub.

📸 Screenshots
=============

[](#-screenshots)

[![image](https://private-user-images.githubusercontent.com/24751863/488641753-eb0cef0d-3ee5-4346-8607-551fca6938e6.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ2NzY4NjMsIm5iZiI6MTc3NDY3NjU2MywicGF0aCI6Ii8yNDc1MTg2My80ODg2NDE3NTMtZWIwY2VmMGQtM2VlNS00MzQ2LTg2MDctNTUxZmNhNjkzOGU2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzI4VDA1NDI0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRhNTFiYzk3OTMyNzJiYWIwYjNkMTFjYTJhNmIzNmYwN2IwMmI1YjUzNmM5NzE4MmEwMTg1OTk5N2VkMTY2ODQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.dMt-ft2Fk2tQ4Q9gAJDKVavBqoHAYQZhPcXojF31fpo)](https://private-user-images.githubusercontent.com/24751863/488641753-eb0cef0d-3ee5-4346-8607-551fca6938e6.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ2NzY4NjMsIm5iZiI6MTc3NDY3NjU2MywicGF0aCI6Ii8yNDc1MTg2My80ODg2NDE3NTMtZWIwY2VmMGQtM2VlNS00MzQ2LTg2MDctNTUxZmNhNjkzOGU2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzI4VDA1NDI0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRhNTFiYzk3OTMyNzJiYWIwYjNkMTFjYTJhNmIzNmYwN2IwMmI1YjUzNmM5NzE4MmEwMTg1OTk5N2VkMTY2ODQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.dMt-ft2Fk2tQ4Q9gAJDKVavBqoHAYQZhPcXojF31fpo)[![1-log-list](https://private-user-images.githubusercontent.com/24751863/468137345-aa975dda-902e-4f24-b421-095e73ee88da.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ2NzY4NjMsIm5iZiI6MTc3NDY3NjU2MywicGF0aCI6Ii8yNDc1MTg2My80NjgxMzczNDUtYWE5NzVkZGEtOTAyZS00ZjI0LWI0MjEtMDk1ZTczZWU4OGRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzI4VDA1NDI0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE0ZmJhMGUyMDU3MzE2YmIwMTAyMTYyODgwMzgyM2U5MWQ3Y2E3YjcxY2FjNzVhZWVhZmQ1ODAxMGZmYzZkMTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.3CZWKexVsAok0X47GorC8_bZS871GGZP4rXxeg0KVjA)](https://private-user-images.githubusercontent.com/24751863/468137345-aa975dda-902e-4f24-b421-095e73ee88da.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ2NzY4NjMsIm5iZiI6MTc3NDY3NjU2MywicGF0aCI6Ii8yNDc1MTg2My80NjgxMzczNDUtYWE5NzVkZGEtOTAyZS00ZjI0LWI0MjEtMDk1ZTczZWU4OGRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzI4VDA1NDI0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE0ZmJhMGUyMDU3MzE2YmIwMTAyMTYyODgwMzgyM2U5MWQ3Y2E3YjcxY2FjNzVhZWVhZmQ1ODAxMGZmYzZkMTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.3CZWKexVsAok0X47GorC8_bZS871GGZP4rXxeg0KVjA)[![3-admin-config](https://private-user-images.githubusercontent.com/24751863/468137433-1711da37-4128-4f7f-a44f-3422d6519988.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ2NzY4NjMsIm5iZiI6MTc3NDY3NjU2MywicGF0aCI6Ii8yNDc1MTg2My80NjgxMzc0MzMtMTcxMWRhMzctNDEyOC00ZjdmLWE0NGYtMzQyMmQ2NTE5OTg4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzI4VDA1NDI0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI0ZmJjNzQ2NjBkNTQ5NDYzZjI1ODNkYTcyNWQ3MGY4YjczZjFjODQ4YjNjN2UzZTBiYmRhMmZkMGZhODZkNzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.1a-qti5SA0W2KYsfcKExWpH8lDXhHMVQHsUSqbF7Bn0)](https://private-user-images.githubusercontent.com/24751863/468137433-1711da37-4128-4f7f-a44f-3422d6519988.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ2NzY4NjMsIm5iZiI6MTc3NDY3NjU2MywicGF0aCI6Ii8yNDc1MTg2My80NjgxMzc0MzMtMTcxMWRhMzctNDEyOC00ZjdmLWE0NGYtMzQyMmQ2NTE5OTg4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzI4VDA1NDI0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI0ZmJjNzQ2NjBkNTQ5NDYzZjI1ODNkYTcyNWQ3MGY4YjczZjFjODQ4YjNjN2UzZTBiYmRhMmZkMGZhODZkNzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.1a-qti5SA0W2KYsfcKExWpH8lDXhHMVQHsUSqbF7Bn0)

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance73

Regular maintenance activity

Popularity41

Moderate usage in the ecosystem

Community10

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~21 days

Recently: every ~28 days

Total

8

Last Release

152d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/874d990fdd2aec1749284bd4fa6a67bd59c53b4d30bd8df67ea8fa00cff70b44?d=identicon)[mageprince](/maintainers/mageprince)

---

Top Contributors

[![mageprince](https://avatars.githubusercontent.com/u/24751863?v=4)](https://github.com/mageprince "mageprince (23 commits)")

---

Tags

adobe-commercefree-extensionlogviewlogviewermagento-free-extensionmagento2magento2-extensionmagento2-modulemagento2-module-freemagento2-pluginmageprince-logviewer

### Embed Badge

![Health badge](/badges/mageprince-module-log-viewer/health.svg)

```
[![Health](https://phpackages.com/badges/mageprince-module-log-viewer/health.svg)](https://phpackages.com/packages/mageprince-module-log-viewer)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[ekino/newrelic-bundle

Integrate New Relic into Symfony2

28111.2M8](/packages/ekino-newrelic-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
