How to Change the debug.log Storage Location
It is beneficial if you temporarily enable debugging on your WordPress site to run down any issues happening with the site from active themes, WordPress core version, or active plugins. The default location to store the debug.log file is /wp-content/debug.log, but if you want to change the path where the debug.log file should be stored, add the following snippet into the wp-config.php file replacing the /tmp/ with your folder preference. define( ‘WP_DEBUG_LOG’, ‘/tmp/wp-errors.log’ ); If you are uncomfortable editing the wp-config file, you can use the plugin “Change Debug Log Location” If you are using the Really Simple SSL plugin