

The Logtern dashboard: debug logging switch, log file stats, and the live viewer with color-coded levels and source badges.
Logtern gives developers and site administrators a fast, safe way to work with the WordPress debug log without ever leaving the admin dashboard.
Log viewers are a common plugin category — Logtern was built because the existing options kept falling short on the sites that need one most:
WP_DEBUG_DISPLAY is off. When you have chosen not to display errors, Logtern re-asserts that choice — the errors still land in the log, they just stop being painted onto your site.wp-content/debug.log.tail -f in a terminal (1–30 second polling, your choice). Polling is lightweight: nothing is re-read unless the file actually changed, and it pauses automatically while the tab is hidden.WP_DEBUG and WP_DEBUG_LOG on or off without hand-editing wp-config.php. When enabling, WP_DEBUG_DISPLAY is forced off so errors are logged instead of shown to visitors. Constants are located with PHP’s tokenizer (commented-out defines are never touched), every change is re-verified before saving, and the file is replaced atomically with its permissions preserved — a failed write can never leave a broken wp-config.php behind..txt file.manage_options), and to network administrators on multisite.wp-content/debug.log whenever possible: the log goes to a randomly named file in a directory protected by .htaccess/web.config deny rules that the plugin creates. (Only if the uploads directory is not writable does the toggle fall back to the WordPress default location.)