Debug log viewer
Reads wp-content/debug.log from inside wp-admin, so you can see PHP errors without FTP or server access.
What it does
The error log, without opening an FTP client
Debug log viewer is a Vectro maintenance feature that displays the contents of wp-content/debug.log inside wp-admin, showing the last 200 lines with a button to clear the file.
When WP_DEBUG_LOG is enabled, WordPress writes PHP notices, warnings and fatal errors to wp-content/debug.log. Reading that file normally means an FTP client or a host file manager, which is enough friction that most people never look until something is badly broken.
This feature shows the file inside wp-admin. You get the last 200 lines, plus a button to clear the file.
It requires WP_DEBUG_LOG to be enabled in wp-config.php. If the file does not exist, Vectro tells you so rather than showing an empty panel that looks like a bug.
The Maintenance module is off by default on a new install. Switch it on from the Vectro dashboard before this feature can run.
Why it matters
A log nobody reads is a log that is not working
The debug log is where a site tells you what is wrong: the deprecated function that will break on the next PHP upgrade, the plugin throwing a notice on every page load, the fatal error behind an intermittent white screen. All of it is recorded and almost none of it is read, because reading it means going and getting it.
A debug.log that has quietly reached several hundred megabytes is both a disk problem and a sign that something is erroring constantly. Vectro reads only the end of the file, so even a log that size opens quickly.
How to use it
Enable logging, then read it
Technical detail
How the file is read
Vectro reads wp-content/debug.log from the end rather than loading the whole file into memory: it seeks to the last 512 KB and ignores everything before it, which is what makes it safe to open a log that has grown very large. Only the last 200 lines are rendered.
Access is restricted to users with the capability to manage options, so the log is not exposed to lower-privileged accounts. Debug logs routinely contain file paths, query fragments and occasionally credentials in a stack trace, so this restriction matters.
wp-content/debug.logWP_DEBUG_LOG set to true in wp-config.php.wp-content/debug.log.Compatibility
Runs alongside everything
No conflicts detected. Vectro runs this feature regardless of other plugins active.
Questions
Frequently asked
What does the Vectro debug log viewer show?
The Vectro debug log viewer shows the last 200 lines of wp-content/debug.log inside wp-admin, with a button to clear the log file. If no debug.log exists yet, it tells you how to start one.
Does the Vectro debug log viewer work with other debugging plugins?
Vectro runs this feature regardless of other plugins active, because no conflicts are detected for it. It reads the standard WordPress debug.log file, so any plugin writing to that same file will have its entries shown as well.
How do I view the WordPress debug log in Vectro?
Set WP_DEBUG and WP_DEBUG_LOG to true in wp-config.php, switch on the Maintenance module under Vectro > Dashboard, then open Vectro > Maintenance. The Debug Log card shows the last 200 lines of the log, with a button to clear it.
Is the Vectro debug log viewer free or Pro?
Yes, The Vectro debug log viewer is free. It is included in the free Vectro plugin on WordPress.org with no account required.
Why does my WordPress debug log show nothing?
The most common reason is that WP_DEBUG_LOG is not enabled in wp-config.php, so WordPress is not writing the file at all. Vectro shows a prompt explaining this rather than displaying an empty panel when the file does not exist.
Related features
Diagnose and recover
Vectro Pro adds an error log viewer with severity filtering and a PHP error email notification system. See Pro plans
Download Vectro free on WordPress.org
27 features across Security, Performance and Maintenance. No account required, no expiry, unlimited sites.