From fe4bba06c67a2df0d46363a0a8859f824c9adaee Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Thu, 17 Aug 2017 17:16:56 -0300 Subject: [PATCH] Updated Using WP_DEBUG_LOG to log errors (markdown) --- Using-WP_DEBUG_LOG-to-log-errors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Using-WP_DEBUG_LOG-to-log-errors.md b/Using-WP_DEBUG_LOG-to-log-errors.md index b4f6e0a..ae9121a 100644 --- a/Using-WP_DEBUG_LOG-to-log-errors.md +++ b/Using-WP_DEBUG_LOG-to-log-errors.md @@ -2,7 +2,7 @@ To log errors triggered by WordPress plugins, you can use the debug log. 1. [Edit your wp-config.php file](https://codex.wordpress.org/Editing_wp-config.php) 2. Add the following lines to enable debug (if these are already defined, edit the values): https://gist.github.com/mikejolley/41265138d6229697f50599d73d52be2f -3. As errors are logged, they should appear in `wp-config/debug.log`. You can open this file in a text editor. +3. As errors are logged, they should appear in `wp-content/debug.log`. You can open this file in a text editor. This will enable the debug log, but will hide errors on your site.