[wp-trac] [WordPress Trac] #53689: Site Health false warning for debug log file

WordPress Trac noreply at wordpress.org
Mon Jul 19 07:16:46 UTC 2021


#53689: Site Health false warning for debug log file
--------------------------+-----------------------------
 Reporter:  ucsendre      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Site Health   |    Version:  5.7.2
 Severity:  minor         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi,

 WP core Site Health shows a warning:
 Your site is set to log errors to a potentially public file.
 My debug settings in wp-config.php:
 {{{
 define('WP_DEBUG', true);
 define('WP_DEBUG_DISPLAY', false);
 define('WP_DEBUG_LOG', '/var/www/vhosts/domain.tld/logs/error-debug-
 warnings.log');
 }}}

 The site root directory is:
 {{{
 /var/www/vhosts/domain.tld/httpdocs/
 }}}

 The debug log file is outside the site web root folder, therefore I assume
 it can not be publicly accessible.
 It is not a huge issue, only a tiny bug, but I do not like false warnings
 like this one.

 Thank you for the best CMS ever!
 <3
 Endre

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53689>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list