Linux 软件免费装
Banner图

TINXDK Log Viewer Lite

开发者 tinxdk
更新时间 2026年12月2日 18:12
PHP版本: 8.2.35 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

debug log error log troubleshooting debug.log log viewer

下载

2.0.2

详情介绍:

TINXDK Log Viewer Lite shows the end of your WordPress debug log under Tools > Log Viewer, newest entry first and colour-coded by level (error/fatal, warning, notice, deprecated, other). Only the last N lines are read from the file (default 500, maximum 5000), so a log of several gigabytes does not exhaust PHP memory. The plugin only reads the log. It never changes or deletes a log file, never sends data anywhere and has no public forms. Need more? The separate add-on TINXDK Log Viewer Pro (licence from tinxdkcloud.dk, not part of this plugin) adds more log files (PHP 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.

安装:

  1. Upload the plugin folder to /wp-content/plugins/ or install it from the Plugins screen, then activate it.
  2. Open Tools > Log Viewer. To get a log, add define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false ); to wp-config.php.

升级注意事项:

2.0.2 The notice about the old OpenDIMS plugin no longer appears across the whole dashboard. 2.0.1 Renamed to TINXDK Log Viewer Lite (no functional change). 2.0.0 The licensed features moved to the separate plugin TINXDK Log Viewer Pro. Install it from tinxdkcloud.dk if you used a licence; this plugin keeps working on its own.

常见问题:

Does it read the whole log file?

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.

Where is the log file?

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.

Can I view the PHP error log or the WooCommerce logs?

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.

Does the plugin contact any external service?

No.

Is it a replacement for "TINXDK WP Log Viewer" or "OpenDIMS WP LogViewer"?

Yes. Version 2.0.0 is the new, renamed plugin (see the changelog). Deactivate the old plugin.

更新日志:

2.0.2 2.0.1 2.0.0 1.0.0