KolorWeb Log Manager makes debugging your WordPress site easy and stress free.
Some features of this plugin.
- Admin bar widget
- Toggle debugging with a click
- Control debug.log filesize
- Smart download
- One click error filtering
- Clear log with one click
- Group and list views
- Sort entries by date
- Live auto refresh
- Realtime search
- Error color legend
- Custom errors manager
- Debugging status, size and last modified debug.log file
- Dashboard widget
- Persistent settings
Admin Bar Widget
The admin bar widget gives you real-time visible information such as debug log mode and error count wherever you are in wp-admin. You will always know when there are errors and can access the log viewer with one click for more details.
Now you can enable / disable debugging with one click. It is no longer necessary to manually edit wp-config.php. Head over to the help section, follow the simple instructions to enable this feature, and you’re good to go.
Always keep an eye on the size of the debug.log file
With this feature your debug.log file will never be larger than you want.
When you click to download debug.log, a version of the smart log will be downloaded. What is a smart register? It is a version of debug.log similar to the group view. Only the last unique entry for each error will be included. The exported file will be in html format and can be opened directly in the browser for quick reading, or in your favorite text editor.
This makes it much easier to parse the file, look for errors, and skip all redundancy due to the many possible occurrences of the same error.
One Click Error Filtering
You can filter errors with a single click on the error legend. Click on multiple error types to filter for multiple error types. Click a second time to deselect an error type. This feature works great even with custom errors.
Easily clear your debug.log file with one click.
Log entries are grouped, making it much easier to see each unique error. You can click to list the date and time when the error occurred. Grouped items can be sorted by newest or latest.
All log entries are listed by date and time and can be sorted by newest or latest.
Sort By Date
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.
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.
Error Color Legend
Errors are color coded to make it easier to identify certain errors such as fatal, notices, warnings, deprecated and database.
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.
From your WordPress Dashboard
- Click on “Plugins > Add New” in the sidebar
- Search for “KolorWeb Log Manager”
- Activate WP KolorWeb Log Manager from the Plugins page
- Search for “KolorWeb Log Manager”
- Download the Plugin to your local computer
- Upload the kolorweb-log-manager directory to your “/wp-content/plugins/” directory using your favorite ftp/sftp/scp program
- Activate KolorWeb Log Manager from the Plugins page
Click on “Tools > Log Manager” in the sidebar or “Log Manager” in the admin bar.
- PHP 5.4.0 or greater
- WordPress 3.9 or above
How to I access the plugin?
Once activated, you can access the plugin one of 3 ways:
- Click on the “Log Manager” link in the admin bar
- Click on “Tools” in the sidebar, then click on “Log Manager”
- Click on “Dashboard”, then from the dashboard click the link in the widget
What is debug toggling?
This feature allows you to enable/disable debugging with a click. No more manually updating WP_DEBUG in wp-config.php.
How do I enable debug toggling?
When the plugin is activated, the system tries to automatically set all the DEBUG constants in your wp-config.php
If toggle button does not appear in the settings means that your wp-config.php is not writable or not found in the default WordPress configuration path.
If wp-config.php is not writable, you will have to manually set the values for DEBUG constants and you will not be able to use the one-click debug toggle function. The plugin will continue to work without problems, but without the magic of this feature.
1.1 To manually enable WordPress debugging you can paste these lines of code into the wp-config.php file
define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_LOG’, true );
define( ‘WP_DEBUG_DISPLAY’, false );
2.1 To manually disable WordPress debugging you can paste these lines of code into the wp-config.php file
define( ‘WP_DEBUG’, false );
define( ‘WP_DEBUG_LOG’, false );
define( ‘WP_DEBUG_DISPLAY’, false );
That’s it. Refresh the page in the browser and you are ready to go. Happy coding with WordPress!
How do I filter errors?
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.
What are custom errors?
In settings, you can define custom errors. Each custom error has a key, label, and colors. The key is used in your custom error message in order to allow the log manager to define and manage your custom errors. The label and color are used to easily filter and categorize the error while browsing the log.
How do I use custom errors?
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’ );
Do I need to refresh the log viewer?
No. The log manager will automatically refresh and display new entries every 15 seconds by default. This feature is implemented using AJAX to avoid reloading the entire page.
What is Group View?
In Group View similar error entries are grouped together making it much easier to see unique errors and when they happened. Click on show details to view all the dates of the events that generated the error.
What is the count in the admin bar?
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 …”
What is the minimum length for a search query?
When using the realtime search, the search query must be at least 3 characters or more in length.
Where can I report bugs?
Report bugs and suggest ideas at: https://wordpress.org/support/plugin/kolorweb-log-manager/
Colaboradores y desarrolladores
“KolorWeb Log Manager: cleaver debugging management” es un software de código abierto. Las siguientes personas han colaborado con este plugin.Colaboradores
Traduce “KolorWeb Log Manager: cleaver debugging management” a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN , o suscríbete al log de desarrollo por RSS .
Registro de cambios
All notable changes will be tracked in this change log.
Release date: 2022-05-27
- Tested up WP 6.0
Release date: 2022-03-13
- A field has been introduced in the settings panel to set the limit on the number of alerts to be taken into account on the debug.log file. The default value set to 0 displays all lines in the file. With this feature your debug.log file will never be larger than you want.
- Fixed some issues with custom error management
- Fixed the error counter in the admin bar to reflect the currently enforced view. Previously it always counted errors in grouped mode, even when the view was set to list.
- Typo fix into readme.txt file
- Improved visibility of errors in the widget
Release date: 2022-03-09
- Really One click automatic enable/disable debugging status
- Added filter kwlm_wp_config_file_path
Release date: 2022-03-05
- One click downloading of smart log file
- One click error filtering by clicking error legends
- Smart downloads include only the latest unique entries. Duplicates are removed to reduce filesize and make reading the file easier
- Persist selected view, sorting across login sessions
- Settings pane added for easy management of viewer settings
- Add and edit custom error types
- Ability to limit who can see WP Log Viewer
- Dashboard widget supports custom errors
- Debug simulation mode so when debug status can not be determined, user can still browse debug log if present
- Added filter kwlm_user_authorized
- Added filter kwlm_can_download_log
- Added filter kwlm_show_dashboard_widget
- Added filter kwlm_show_adminbar_widget
- WordPress sidebar is folded to increase viewer space
- Sidebar is sticky so actions are always present when scrolling
- Updated the header to display more error messages and to use less vertical space
- Display count for each error type
- Smarter display of error legends. Only legends with errors are displayed
- Search query is not displayed under search bar
- Increased error message area to display more horizontally which will reduce scrolling
- Made error message more readable by removing line number and file path
- Reorganized error details (type, line number and file path) to make it more space efficient