One click enable/disable debugging, clear debug.log, search, sort, and filter errors. See new errors automatically without refreshing.
WP Log viewer makes debugging your WordPress site easy and stress free.
Some features of this plugin.
The admin bar widget gives you glanceable information such as debug log mode and error count where ever you are in wp-admin. You will always know when there are errors and can access the log viewer with on click for additional details.
Now you can enable/disable debugging with a click. No need to manually edit wp-config.php anymore. Go to the help section, follow the easy instructions to enable this feature and you are ready to go.
When you click to download debug.log, a smart log version will be downloaded. What is a smart log? It’s a version of debug.log that is similar to group view. Only a the latest unique entry for each error will be included.
This makes it much easier to analyse the file, scan for errors and skip all the redundancy.
You can filter errors with just one click on the error legend. Click on multiple error types to filter by multiple error types. Click a second time to deselect an error type. This feature works great with custom errors.
Easily clear your debug.log file with one click.
Log entries are group making it much easier to see each unique error. You can click to list the date and times when the error occured. Grouped entries can be sorted by newest or latest.
All log entries are listed by date and time and can be sorted by newest or latest.
Log entries can be sorted by date by newest or latest in either list or group views.
Log automatically refreshes to display new errors. No need to manually refresh the screen. However, there is a link to manually refresh if desired.
Quickly search and find specific errors.
Errors are color coded to make it easier to identify certain errors such as fatal, notices, warnings, deprecated and database.
Now you can easily define custom error messages. When that error occures in your log file it can have it’s own color coding, count and label. Testing for custom errors or issues is now much easier.
Debugging status is located at the top of the viewer and admin bar to make it easy to see if debugging is enabled or disabled.
You can also see log size and last modified timestamp. This information automatically updates when changed.
This widget gives you a quick summary regarding how many and what type of errors are in the log view. You can also access the log viewer with just one click.
Customize your log viewer to your heart’s content. Your settings such as view, sort order, sidebar folding and more persist accross logins. When you login as your user, log viewer will be just like you left it.
Click on “Tools > Log Viewer” in the sidebar or “Debug Log” in the admin bar.
** Grouped view ** - Grouped view makes it easier to analyze errors and debug code
** Error details ** - Error message and details are neatly displayed
** Automagically refreshes ** - No need to refresh, new errors will be automatically displayed
** Realtime search ** - Makes finding what you are looking for super easy
** Filter errors ** - Click error types to filter results. Only see what you need
** Admin bar count ** - Easily see when you have errors. Click to go to log viewer
** Settings Pane ** - Customize your experience in one place
** Help section ** - Have questions? Get answers
Click on “Tools > Log Viewer” in the sidebar or “Debug Log” in the admin bar.
Once activated, you can access the plugin one of 3 ways:
This feature allows you to enable/disable debugging with a click. No more manually updating WP_DEBUG in wp-config.php.
Enabling this feature is easy and takes less than a minute.
<?php
if (!defined(‘ABSPATH’)) { header(‘HTTP/1.0 403 Forbidden’); die; }
define(‘WPLV_DEBUG’, false);
include_once $_SERVER[‘DOCUMENT_ROOT’] . ‘/wplv-config.php’;
define(‘WP_DEBUG’, defined(‘WPLV_DEBUG’) ? WPLV_DEBUG : false);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);
Errors are grouped by error types. These error types are listed at the top of the viewer and color coded. You can click on any of these error to filter results by those errors.
You can click on multiple errors to limit results to only those errors. Click a second time to deselect that error type. This feature works great with custom errors.
In settings, you can define custom errors. Each custom error has a key, label, and color. The key is used in your error message to the logviewer can identify your custom errors. The label and color are used to easily identify the error in the viewer.
When you write an error to the log, you have to start the error message with a # and the custom error key followed by a :.
Example: If you defined a custom error with a key: my-custom-error
In your code: error_log(‘#my-custom-error: The error message goes here’);
No. The log viewer will automatically refresh and display new entries every 15 seconds by default. This feature is implemented using AJAX to avoid reloading the entire page.
In Group View similar error entries are grouped together making it much easier to see unique errors and when they happened.
The count shown in the admin bar represent the number of unique errors in the log. So if there are 10 entries for the same error, it will only count as 1.
By default the sidebar will be folded when the log viewer is active. This increases the viewing. To disable, or toggle this behavior, click on settings then “Fold sidebar …”
When using the realtime search, the search query must be atleast 3 characters or more in length.
Report bugs and suggest ideas at: https://wordpress.org/support/plugin/wp-log-viewer
All notable changes will be tracked in this change log.
Release date: 2017-06-14
Release date: 2017-06-14
Release date: 2016-12-22
Release date: 2016-08-17
Release date: 2016-07-29
Release date: 2016-05-11
Release date: 2016-04-13
Release date: 2016-01-29
Release date: 2016-01-28
Feature
Hook
Release date: 2016-01-04
Feature:
Fix:
Release date: 2015-12-30
Feature:
UI:
Fix:
Release date: 2015-10-16
Release date: 2015-08-28
Release date: 2015-08-26
Release date: 2015-08-24
Release date: 2015-08-20
Fix:
UI:
Release date: 2015-08-14
Release date: 2015-08-14
Feature:
Fix:
UI:
Release date: 2015-06-22
Feature:
Fix:
Release date: 2015-06-01
Feature:
UI: