Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rarst/error-log-dashboard-widget
Robust zero-configuration and low-memory WordPress plugin to keep an eye on error log.
https://github.com/rarst/error-log-dashboard-widget
log wordpress wordpress-plugin
Last synced: 16 days ago
JSON representation
Robust zero-configuration and low-memory WordPress plugin to keep an eye on error log.
- Host: GitHub
- URL: https://github.com/rarst/error-log-dashboard-widget
- Owner: Rarst
- License: other
- Created: 2014-05-28T20:26:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-01-12T09:17:05.000Z (almost 7 years ago)
- Last Synced: 2024-10-17T08:50:37.966Z (27 days ago)
- Topics: log, wordpress, wordpress-plugin
- Language: PHP
- Size: 18.6 KB
- Stars: 30
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Error Log Dashboard Widget
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Rarst/error-log-dashboard-widget/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Rarst/error-log-dashboard-widget/?branch=master)Error Log Dashboard Widget is robust zero–configuration and low–memory WordPress plugin to keep an eye on error log.
[Logging errors](https://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Logging) is recommended best practice, even for production site. Checking those logs however might seem like a chore.
The widget brings latest entries from error log right to WordPress dashboard:
- log file is detected automatically from configuration;
- only end of file is read — no memory overflow issues, safe for large logs.## Installation
[Download](https://github.com/Rarst/error-log-dashboard-widget/archive/master.zip) and unpack into plugins directory or require with Composer:
```bash
composer require rarst/error-log-dashboard-widget
```## Frequently Asked Questions
### Which log is monitored?
Log file path is read from `error_log` PHP setting, which can be configured by WordPress or otherwise. Additional logs can be monitored by filtering list on `error_log_widget_logs` hook.
### Why so many/few lines?
Filter `error_log_widget_lines` hook to control how many lines you want to see.
### Will everyone see the widget?
Only users with `manage_options` capability (Administrators) will see the widget. You can change this by filtering `error_log_widget_capability` hook.
## License
GPLv2+