Most debug log tools show you the one debug.log WordPress writes. Debug Log Router splits it by the kind of request instead: an error a visitor hit on the front end, a warning from the admin, and a failure in a background cron task land in different files. You see at once what the error cost, and cron errors, which never show up on any page, stop drowning in the rest.
front.log — the public siteadmin.log — the admin areaajax.log — admin-ajax requestsrest.log — the REST API, a custom REST prefix includedcron.log — WP-Croncli.log — WP-CLIxmlrpc.log — XML-RPCFiles are created as they are needed: on a site without WP-CLI, cli.log never appears. Entries are written in the usual PHP log format, so the files still open in any text editor and over FTP.
wp-config.php and in the log directory, and what it could not do.zip extension; without it, the files download one by one.wp-content/debug.log is left alone and opens in the same viewer.WordPress reads its debug constants before any plugin loads, so there is no way around wp-config.php. The plugin changes it once:
wp-config.php stays exactly as it was. Its permissions, owner and group are kept.wp-config.php again.define() lines for WP_DEBUG, WP_DEBUG_LOG and WP_DEBUG_DISPLAY are not deleted but commented out, marked DLOGR-DISABLED.Logs are kept in wp-content/uploads/debug-log-router/dlogr-logs-xxxxxxxx (wherever your uploads folder is), where the last eight characters are random. The name is the main protection: the directory’s address cannot be guessed. The second layer is an .htaccess file that blocks direct access on Apache and LiteSpeed. If the name ever leaks, one button gives the directory a new one. No PHP files are written to the uploads folder.
The plugin sends no data off your server and contacts no external services. Keep in mind that PHP logs themselves can contain paths on disk, pieces of SQL queries and data of your site’s users. That is why only administrators can see them and why the log directory is protected as described above. The plugin’s journal records which user performed each action.
WordPress networks (multisite) are not supported: the plugin has not been tested on them and makes no claim to work there.
The plugin’s texts follow the language of your WordPress profile; translations arrive as language packs from translate.wordpress.org. On the Settings tab the plugin’s page can be switched to English on its own, while the rest of WordPress keeps your language: handy when you look up an error message or send a screenshot to support.
The Support tab explains what the plugin does and where to report bugs, and shows the version and licenses.
Icons by Lucide (https://lucide.dev), ISC license. Some icons come from the Feather project, MIT license. The license texts are in assets/icons/LICENSE.