Change Debug Log Location

plugin banner

Your website will not send any email in case of fatal errors.

Author:Jose Mortellaro (profile at wordpress.org)
WordPress version required:4.6
WordPress version tested:6.5
Plugin version:0.0.2
Added to WordPress repository:25-02-2021
Last updated:19-03-2024
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:1 217
Active installs:10+
plugin download
Click to start download

Normally, if the debug is active, the file debug.log is included in the folder wp-content, and everybody can read it at https://your-domain.com/wp-content/debug.log/.

Activating Change Debug Log Location you will find the debug.log file in the main directory, but it will have a name that looks like debug-6583fb9c.log.

So only those who know the name will be able to find it.

Deactivating the plugin it will not delete the debug file, because we don’t want you lose any information, of course you can delete it manually via FTP.

Moreover, after deactivating the plugin the debug will be disabled. If you need it, you should enable it again in wp-config.php.

Of course, if the debug is disabled because you don’t need it (the default of WordPress), you also don’t need this plugin. This plugin is only for those who need to read the debug.log file, but they don’t want everybody can read it.


ChangeLog