[wp-trac] [WordPress Trac] #47985: Site Health: log errors to public file

WordPress Trac noreply at wordpress.org
Sun Dec 15 11:26:23 UTC 2019


#47985: Site Health: log errors to public file
------------------------------------+---------------------
 Reporter:  afragen                 |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  5.4
Component:  Site Health             |     Version:  5.2
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+---------------------

Comment (by Clorith):

 Replying to [comment:22 kubiq]:
 > We should check it with CURL if that file is really public.

 This makes the presumption that the file is always in a fixed location,
 but r44453 made it so you can change the path and filename via the
 `WP_DEBUG_LOG` constant, meaning the URL may end up being unknown as well.

 I'd also draw attention to comment:11 which mentions that leaving a debug
 logfile may end up eating hosting space that the user does not account for
 or expect, and is outside of log rotation.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47985#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list