| 开发者 | tinxdk |
|---|---|
| 更新时间 | 2026年12月2日 18:12 |
| PHP版本: | 8.2.35 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp-content/debug.log (or the path in WP_DEBUG_LOG when it is a path), newest first, last N lines only.WP_DEBUG or WP_DEBUG_LOG is off, with the line to add to wp-config.php.manage_network_options capability.tinxdk-log-viewer).error_log, php_error.log, wp-content/error.log, WooCommerce logs), a level filter, download, clear, auto-refresh and a dashboard widget. This plugin offers hooks for it (tinxdk_lv_sources, tinxdk_lv_entries, tinxdk_lv_toolbar_fields, tinxdk_lv_toolbar_actions, tinxdk_lv_admin_tabs, tinxdk_lv_admin_sections, tinxdk_lv_settings_defaults, tinxdk_lv_sanitize_settings, tinxdk_lv_loaded).
If the old "OpenDIMS WP LogViewer" plugin is still active, an admin notice asks you to deactivate it.
/wp-content/plugins/ or install it from the Plugins screen, then activate it.define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false ); to wp-config.php.No. The file is read backwards in small chunks until the last N lines are found (or 8 MB have been read), so a very large log costs the same as a small one.
wp-content/debug.log, or the path you set with define( 'WP_DEBUG_LOG', '/path/to/file.log' );. The plugin tells you when WP_DEBUG or WP_DEBUG_LOG is off.
Not in this plugin. That is what the separate TINXDK Log Viewer Pro add-on does. It uses a whitelist: only files the add-on lists can be chosen, never an arbitrary path from the request.
No.
Yes. Version 2.0.0 is the new, renamed plugin (see the changelog). Deactivate the old plugin.
tinxdk-wp-log-viewer to tinxdk-log-viewer. Settings (tinxdk_lv_settings) are kept.tinxdk_lv_sources, tinxdk_lv_entries, tinxdk_lv_toolbar_fields, tinxdk_lv_toolbar_actions, tinxdk_lv_admin_tabs, tinxdk_lv_admin_sections, tinxdk_lv_settings_defaults, tinxdk_lv_sanitize_settings, tinxdk_lv_loaded.load_plugin_textdomain() call).tinxdk-wp-log-viewer): replaces "OpenDIMS WP LogViewer". Tail-only reading, newest first, colour coding, search, grouped stack traces and the WP_DEBUG indicator.