Title: W3NetLab Debug Log Console
Author: W3netLab Innovations
Published: <strong>2026 年 7 月 31 日</strong>
Last modified: 2026 年 7 月 31 日

---

搜索插件

![](https://ps.w.org/w3netlab-debug-log-console/assets/banner-772x250.jpg?rev=3629370)

![](https://ps.w.org/w3netlab-debug-log-console/assets/icon-256x256.png?rev=3629370)

# W3NetLab Debug Log Console

 作者：[W3netLab Innovations](https://profiles.wordpress.org/w3netlab/)

[下载](https://downloads.wordpress.org/plugin/w3netlab-debug-log-console.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/w3netlab-debug-log-console/#description)
 * [评价](https://cn.wordpress.org/plugins/w3netlab-debug-log-console/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/w3netlab-debug-log-console/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/w3netlab-debug-log-console/#developers)

 [支持](https://wordpress.org/support/plugin/w3netlab-debug-log-console/)

## 描述

W3NetLab Debug Log Console helps administrators troubleshoot WordPress without exposing
PHP errors on the public website.

It goes beyond a basic log viewer by combining controlled debug activation, automatic
shutoff, runtime verification, protected storage, and memory-safe inspection in 
one dashboard tool.

#### Standout features

 * Enable or disable debug logging from Tools > Debug Log Console.
 * Keep frontend error display disabled while logging is active.
 * Automatically stop logging after 10 minutes, 30 minutes, 1 hour, 6 hours, or 
   24 hours.
 * See the local shutoff time and a live `hh:mm:ss` countdown.
 * Search and filter complete multi-line entries without losing stack traces.
 * Read only the newest 512 KB and display up to 1,500 lines to avoid large-log 
   memory exhaustion.
 * Download, clear, or rotate the active log through protected administrator actions.
 * Verify that the loaded debug constants match the requested state and fail safely
   when they do not.
 * Detect existing debug definitions and resolve only supported cases after explicit
   administrator approval.
 * Store logs locally with no telemetry, tracking, remote assets, or external log
   service.

#### Protected log storage

Logs are stored in a `w3netlab-debug-log-console` folder under the runtime uploads
directory resolved by WordPress. The active log uses a randomized filename.

The plugin creates Apache/OpenLiteSpeed and IIS access-control files plus an index
file. It validates paths, rejects symbolic links, and never creates temporary PHP
files beside `wp-config.php`.

#### Configuration safety

Automatic setup is available only when WordPress has safe direct access to a regular,
writable `wp-config.php` file. Updates are limited to recognized debug definitions
and the plugin-owned block, then read back and verified. If verification fails, 
the plugin attempts to restore the original content.

Normal enable, disable, and automatic-shutoff operations use a protected marker.
If the requested configuration does not take effect, the marker is removed and logging
is not reported as enabled.

## 屏幕截图

[⌊Dashboard showing the current logging status and session controls.⌉⌊Dashboard 
showing the current logging status and session controls.⌉[

Dashboard showing the current logging status and session controls.

[⌊Debugging enabled with search, severity filtering, and complete multi-line error
entries.⌉⌊Debugging enabled with search, severity filtering, and complete multi-
line error entries.⌉[

Debugging enabled with search, severity filtering, and complete multi-line error
entries.

[⌊Dashboard showing debug logs.⌉⌊Dashboard showing debug logs.⌉[

Dashboard showing debug logs.

## 安装

 1. Install and activate W3NetLab Debug Log Console.
 2. Open Tools > Debug Log Console.
 3. Choose a shutoff duration and click Enable debug logging.

On multisite, use Network Admin > Settings > Debug Log Console.

## 常见问题

### Are errors displayed to website visitors?

No. The managed configuration keeps `WP_DEBUG_DISPLAY` disabled.

### How are large logs handled?

The viewer reads only the final 512 KB and displays no more than 1,500 lines. Downloads
are streamed in small chunks. Logs larger than 10 MB can be moved into one protected
previous-log archive.

### Why might the enable button be unavailable?

Safe direct configuration access or protected uploads storage may be unavailable,
or unsupported debug definitions may already control WordPress. The plugin remains
disabled and shows the detected condition. For host-managed configuration, contact
the hosting provider.

### What happens when the plugin is deactivated?

The enable marker is removed first. The plugin then removes its managed configuration
block and restores any supported definitions it previously preserved. Existing log
data remains available if the plugin is activated again.

### What happens when the plugin is deleted?

Uninstall removes plugin options, protected log storage, the standard managed configuration
block, and any supported definitions the plugin previously preserved.

### Does the plugin send data anywhere?

No. Logs and settings stay on the WordPress installation.

## 评价

此插件暂无评价。

## 贡献者及开发者

「W3NetLab Debug Log Console」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ W3netLab Innovations ](https://profiles.wordpress.org/w3netlab/)

[帮助将「W3NetLab Debug Log Console」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/w3netlab-debug-log-console)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/w3netlab-debug-log-console/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/w3netlab-debug-log-console/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/w3netlab-debug-log-console/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/w3netlab-debug-log-console/)。

## 更新日志

#### 1.0.0 – 2026-07-31

 * Initial release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**1 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **7.0.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/w3netlab-debug-log-console/)
 * 标签
 * [debug](https://cn.wordpress.org/plugins/tags/debug/)[developer-tools](https://cn.wordpress.org/plugins/tags/developer-tools/)
   [error log](https://cn.wordpress.org/plugins/tags/error-log/)[logging](https://cn.wordpress.org/plugins/tags/logging/)
   [troubleshooting](https://cn.wordpress.org/plugins/tags/troubleshooting/)
 *  [高级视图](https://cn.wordpress.org/plugins/w3netlab-debug-log-console/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/w3netlab-debug-log-console/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/w3netlab-debug-log-console/reviews/)

## 贡献者

 *   [ W3netLab Innovations ](https://profiles.wordpress.org/w3netlab/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/w3netlab-debug-log-console/)