Magento 2 Log Viewer: Show Log Files in the Admin
SKU: ADMINLOGVIEWER1
- read log files from var/log directly in the admin
- filter by level, time range and keyword
- download and permissions per user role
- mask sensitive data in the display
Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.
Magento 2 Log Viewer: read log files right in the admin
With the Mironsoft Magento 2 Log Viewer you open log files such as system.log, exception.log or debug.log directly in the admin, without SSH and without FTP access. You filter by level, date and search term, download files and assign permissions per user role. The display is strictly read-only and limited to approved directories. Support and developers see errors immediately, and server access stays with the hosting team.
List log files
All files from var/log with size and modification date, sortable and with a search field.
Show the last lines
The last 200 to 5,000 lines are read without loading the whole file into memory.
Filter by level
DEBUG, INFO, WARNING, ERROR and CRITICAL can be shown or hidden individually.
Full-text search
Narrow down by search term and time range, hits are highlighted, stack traces expand on click.
Download and permissions
Download single files, control access through the ACL per user role and file group.
Mask sensitive data
Email addresses, tokens and card patterns can be blacked out in the display.
Why a Magento 2 Log Viewer in the admin makes daily work easier
When something goes wrong in the shop, the search usually starts in the log files. Without admin access everyone involved needs server access, and for security reasons that is often limited to a few people. The result is questions to the hosting provider, waiting time and screenshots of terminal windows that nobody can read completely.
A Magento 2 Log Viewer solves this in the familiar backend. Support opens the file in the Magento 2 Log Viewer, sets the filter to ERROR and copies the relevant line into the ticket. The developer downloads the whole file when needed. Server rights stay where they belong.
Magento 2 Log Viewer: pick files and read the last lines
The file list of the Magento 2 Log Viewer shows name, size and last change. One click opens the file with its last lines, and you set the number in the configuration. The module reads backwards from the end of the file and therefore stays fast even with very large files. A size limit protects the server, and a note appears when the display was shortened.
- Name, size and modification date per file
- Reading backwards, fast even for large files
- Limit and shortening notice
Search logs by level, date and keyword
The filter bar of the Magento 2 Log Viewer works with Alpine.js and loads results without a page change. You choose level, time range and search text. Multi-line entries such as stack traces stay together and can be expanded and collapsed. Hits are highlighted so that your eye lands on the right spot straight away.
- Level, time range and keyword can be combined
- Stack traces kept as one entry
- Hits highlighted, no page reload
Secure access: whitelist, masking and ACL
The Magento 2 Log Viewer reads only from directories you approve, by default var/log. Paths from the request are checked against this list, so no other file can be reached. Through the ACL you decide who may view or download files. Optionally a rule list masks patterns such as email addresses or tokens already in the display. Which data your logs may contain is a legal question the shop operator checks.
- Approved directories only, no free path
- ACL separate for viewing and downloading
- Masking rules for sensitive patterns
Follow new entries live without reloading
With the live view of the Magento 2 Log Viewer the page fetches new lines at an adjustable interval and appends them at the bottom, much like a terminal. This helps when testing payment methods or imports because you see the message as soon as it appears. The refresh can be paused, and nothing runs in the background once the page is closed. The module adds the display without any extra library.
- Refresh every few seconds, can be paused
- New entries appended at the bottom
- No background process when the page is closed
Where the Magento 2 Log Viewer helps in daily work
Typical situations in which a direct look into the log saves time.
Support handles customer reports
A customer reports an error at payment. Support filters by time range and copies the matching line into the ticket.
Testing after an update
After a release the team checks for new errors. The live view shows messages while someone clicks through the checkout.
Agency without server access
External providers get an admin role with read rights, without anyone setting up SSH access.
Error files for developers
The developer downloads exception.log with the Magento 2 Log Viewer and analyses it in a familiar environment.
Magento 2 Log Viewer: without and with the module
The difference to access via SSH or FTP.
| Topic | Without the module | With Mironsoft Log Viewer |
|---|---|---|
| Access | SSH or FTP required | In the admin with its own role |
| Search | Terminal commands | Filter by level, time range and text |
| Large files | Editor crashes or loads slowly | Read backwards, limited |
| Permissions | All or nothing | ACL per file and action |
| Privacy | Plain text in the terminal | Masking in the display |
How we set up the Magento 2 Log Viewer for you
The process after your order.
Briefing
You tell us which directories and files your team should see and which roles get access.
Installation
We install the Magento 2 Log Viewer, enter the approved paths and create the ACL rules.
Masking
We set up rules for email addresses, tokens and other patterns that should not appear in the display.
Test
We check large files, filters, download and the attempt to reach paths that are not approved.
Handover
Your team gets a short introduction to filters, the live view and permission assignment.
Scope compared with admin action log, login log and mail log
The Mironsoft admin action log records who changed what in the backend, the login log shows sign-ins, and the mail log keeps sent emails. These modules produce their own evaluations. The Magento 2 Log Viewer, by contrast, shows the technical log files of the system, meaning errors, warnings and debug output.
All modules can be combined. The log viewer is strictly read-only and needs no additional JavaScript library in the admin.
No download, but a personal setup
The Magento 2 Log Viewer is not listed here as a finished download file for self-installation. The purchase is a commission: we contact you after the purchase, install the module in your shop and agree paths, roles and masking with you.
Frequently asked questions
Everything important about display, filters, permissions and how the purchase works.
How can I display log files in the Magento 2 admin?
Where are the logs in Magento 2?
Can I change files on the server with it?
How do I download a log file from the admin?
How large may log files be?
Who may see the logs?
Does the Magento 2 Log Viewer work with Hyvä?
Can sensitive data be hidden?
Does the log viewer replace the admin action log?
Can I download and install the module myself?
Magento 2 Log Viewer – Mironsoft