Debug Log Location / Config File
-
Hey Bowo,
I see that Debug Log Manager rewrites wp config to include a line like this:
define( ‘WP_DEBUG_LOG’, ‘/var/www/vhosts/howtofightnow.com/httpdocs/wp-content/uploads/debug-log-manager/howtofightnowcom_20250409173339278926_debug.log’ );
I also notice that under the log manager GUI itself, it lists the same location:
https://www.dropbox.com/scl/fi/n5ymygvwhsia0q1930q1p/Screenshot-2025-04-09-at-1.36.58-PM-3.png?rlkey=or9asoxf2sb9guev28heofy5d&dl=0
But if I change the log file in wp config, it does not update the location that exists in the debug log manager gui.
So, can you please tell me where in the plugin’s code it is storing or setting this value?I’m creating a script which reads the debug log and restarts if I get fatal errors, and I’m noticing that if I deactivate and reactvate the plugin, the log file changes in the GUI… despite it remaining the same in wp config.
It would be useful if I could crawl the config file to update the location of the log file if any changes are made!
Thanks in advance!
The page I need help with: [log in to see the link]
The topic ‘Debug Log Location / Config File’ is closed to new replies.