跳到内容

Lumiblog Debug Log Inspector

v1.3.0

Patrick Lumumba · 2026年1月28日 上架

Monitor debug logs for any WordPress plugin errors and display real-time status in the WordPress admin bar.

正在使用
10 以下
评分
暂无
累计下载
725
最近更新
2026年11月24日
需要 WordPress 5.0+已测试到 7.1.5PHP 7.0+

截图

Add a plugin to monitor by picking it from your installed plugins, or entering its details yourself
Add a plugin to monitor by picking it from your installed plugins, or entering its details yourself
Admin bar in green when none of your monitored plugins have entries in the debug log
Admin bar in green when none of your monitored plugins have entries in the debug log
Monitored plugins tab with an overview, monitoring toggles and the log status of each plugin
Monitored plugins tab with an overview, monitoring toggles and the log status of each plugin
Admin bar in red, showing which plugin has log entries and the most recent error
Admin bar in red, showing which plugin has log entries and the most recent error
Settings tab for monitoring only active plugins, the log scan size and admin bar options
Settings tab for monitoring only active plugins, the log scan size and admin bar options
Edit a monitored plugin in a pop-up form, pre-filled with its current details
Edit a monitored plugin in a pop-up form, pre-filled with its current details

Lumiblog Debug Log Inspector is a powerful quality assurance and debugging tool that monitors your WordPress debug.log file for plugin-specific errors. Unlike other debug tools, it allows you to monitor ANY WordPress plugin through an easy-to-use settings interface – no coding required!

Key Features

  • Universal Plugin Monitoring: Add any WordPress plugin to monitor through a simple settings page
  • No Code Editing: Add/edit/delete monitored plugins through the WordPress admin interface
  • Real-time Monitoring: Automatically scans your debug.log file for errors
  • Visual Status Indicators: Color-coded admin bar display (Green = OK, Red = Errors Found, Gray = Debug Logging Disabled)
  • Auto-Detection: Option to only monitor plugins that are currently active
  • Plugin-Specific Tracking: Individual status for each monitored plugin
  • Last Error Display: Shows the most recent error message for quick diagnosis
  • Duplicate Prevention: Smart validation prevents adding the same plugin twice
  • Enable/Disable Plugins: Toggle monitoring for specific plugins without deleting them
  • Lightweight: Minimal performance impact with efficient log reading
  • Well-Organized Code: Modular file structure for easy maintenance and customization

Perfect For

  • QA Teams testing multiple plugins
  • Plugin Developers debugging their own plugins
  • WordPress Developers monitoring client sites
  • Agency Teams managing multiple WordPress installations
  • Anyone who wants to keep track of plugin errors

How It Works

  1. Install and activate the plugin
  2. Go to Settings > Log Inspector
  3. Add any plugin you want to monitor by providing:
    • Plugin Name (e.g., “WooCommerce”)
    • Plugin File Path (e.g., “woocommerce/woocommerce.php”)
    • Search Terms (e.g., “woocommerce, wc-“)
  4. Check the admin bar for real-time error status

Requirements

To use this plugin effectively, you need to enable WordPress debug logging by adding these constants to your wp-config.php file:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', '/home/your-user/logs/debug.log' );
define( 'WP_DEBUG_DISPLAY', false );

Replace the path with a folder outside your public web folder (for example, outside public_html) that exists and is writable. Setting WP_DEBUG_LOG to true saves the log to wp-content/debug.log instead, which anyone can download on many servers.

Testing the Plugin

To verify Lumiblog Debug Log Inspector is working correctly, follow these steps:

Step 1: Enable Debug Logging

Add to your wp-config.php:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', '/home/your-user/logs/debug.log' );
define( 'WP_DEBUG_DISPLAY', false );

Step 2: Add a Plugin to Monitor

  1. Go to Settings > Log Inspector
  2. Click “Add Plugin” and choose a plugin from the list, or fill in the fields yourself
  3. Fill in the form with a plugin you have installed (e.g., WooCommerce)
    • Plugin Name: WooCommerce
    • Plugin File Path: woocommerce/woocommerce.php
    • Search Terms: woocommerce, wc-
  4. Click “Add Plugin”

Step 3: Generate a Test Error

Note: Ensure that the test site is running on PHP 8.4+

  1. Add this code snippet inside of any active plugin’s main file:

    /**

    • DEBUG LOG INSPECTOR DEMO – PHP 8.4 Warning Trigger
    • REMOVE AFTER DEMO/TESTING!
      */
      add_action( ‘load-index.php’, function() {
      if ( version_compare( PHP_VERSION, ‘8.4.0’, ‘>=’ ) ) {
      $test_array = array( ‘name’ => ‘Debug Log Inspector’ );
      $undefined_value = $test_array[’email’]; // Triggers warning
      error_log( ‘[DLI-DEMO-PHP84] PHP 8.4 warning triggered!’ );
      }
      });
  2. Reload the site’s admin dashboard to trigger the error

  3. Check your admin bar – it should turn RED

Step 4: View the Debug Log (Optional)

On Settings > Log Inspector, use the download button in the Debug status card to see the actual error entries that were logged.

Clean Up:

  1. Remove the test code you added
  2. Delete the debug log file or clear its contents
  3. The admin bar should return to GREEN

Additional Information

Debug Constants

For enhanced debugging, you can also add these optional constants to your wp-config.php:

define( 'SCRIPT_DEBUG', true );
define( 'SAVEQUERIES', true );
define( 'WP_DEBUG_DISPLAY', false ); // Set to false on production sites

For Developers

The plugin is designed to be easily extendable. All classes are well-documented and follow WordPress coding standards. Feel free to fork and customize for your specific needs.

Support

For support, feature requests, or bug reports, please visit the WordPress.org support forums for this plugin.

Contributing

Contributions are welcome! Please visit the plugin’s Github Repo for more information.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums