opcodesio/log-viewer
Composer 安装命令:
composer require opcodesio/log-viewer
包简介
Fast and easy-to-use log viewer for your Laravel application
README 文档
README
Log Viewer
Easy-to-use, fast, and beautiful
Documentation | Features | Installation | Troubleshooting | Credits
OPcodes's Log Viewer is a perfect companion for your Laravel app.
You will no longer need to read the raw Laravel log files (and other types of logs) trying to find what you're looking for.
Log Viewer helps you quickly and clearly see individual log entries, to search, filter, and make sense of your Laravel logs fast. It is free and easy to install.
📺 Watch a quick 4-minute video showcasing some Log Viewer features.
Features
- 📂 View all the Laravel logs in your
storage/logsdirectory, - 📂 View other types of logs - Horizon, Apache, Nginx, Redis, Supervisor, Postgres, and more,
- 🔍 Search the logs,
- 🎚 Filter by log level (error, info, debug, etc.),
- 🔗 Sharable links to individual log entries,
- 🌑 Dark mode,
- 📱 Mobile-friendly UI,
- 🖥️ Multiple host support,
- ⌨️ Keyboard accessible,
- 💾 Download & delete log files from the UI,
- ☑️ Horizon log support (up to Horizon v9.20),
- ☎️ API access for folders, files & log entries,
- 💌 Mail previews for e-mails sent to the logs,
- and more...
Documentation
Documentation can be found on the official website.
Get Started
Requirements
- PHP 8.0+
- Laravel 8+
Installation
To install the package via composer, Run:
composer require opcodesio/log-viewer
After installing the package, publish the front-end assets by running:
php artisan log-viewer:publish
Usage
Once the installation is complete, you will be able to access Log Viewer directly in your browser.
By default, the application is available at: {APP_URL}/log-viewer.
(for example: https://my-app.test/log-viewer)
Configuration
Please visit the Log Viewer Docs to learn about configuring Log Viewer to your needs.
Troubleshooting
Here are some common problems and solutions.
Problem: Logs not loading
Please see this page for support log formats. If your log has a custom format, or is not supported by Log Viewer out of the box, you will need to define your own custom log parser.
If your logs are still not showing up, make sure the web process, which Log Viewer runs on, has permission to read these logs.
For example, if you want to read the Apache HTTP access logs in /var/log/httpd, you will need to make sure that your web process (apache/httpd) has permission to read these files. On unix systems, you can do this with file ACLs.
Screenshots
Read the release blog post for screenshots and more information about Log Viewer's features.
The release of v2 includes a few new features in v2.
The release of v3 includes a few new features in v3.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
opcodesio/log-viewer 适用场景与选型建议
opcodesio/log-viewer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 11.18M 次下载、GitHub Stars 达 4.36k, 最近一次更新时间为 2022 年 08 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「logs」 「log viewer」 「arukompas」 「opcodesio」 「better-log-viewer」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 opcodesio/log-viewer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 opcodesio/log-viewer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 opcodesio/log-viewer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
The tenancy/tenancy logs mutations
Stackdriver handler for Monolog (codeinternetapplications/monolog-stackdriver Fork).
Laravel 5.x.x library for integration Monolog Sentry
Pacote simplificado para persistência de logs
Change logs for orchid platform.
Collection of tools to use the full power of the Enyalius framework
统计信息
- 总下载量: 11.18M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4369
- 点击次数: 21
- 依赖项目数: 57
- 推荐数: 2
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-15
