[wp-trac] [WordPress Trac] #62029: Do not bloat Debug Log with Scraping home page… when auto upgrade is OK
WordPress Trac
noreply at wordpress.org
Tue Sep 10 18:42:00 UTC 2024
#62029: Do not bloat Debug Log with Scraping home page… when auto upgrade is OK
----------------------------+-----------------------------
Reporter: georgwordpress | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
Since wp 6.6 with every automatic plugin update/upgrade the WP Debug log
is bloated with
“scraping home page… “
followed by the whole html body text.
{{{
[29-Aug-2024 22:24:01 UTC] Automatic updates starting...
[29-Aug-2024 22:24:02 UTC] Automatic plugin updates starting...
[29-Aug-2024 22:24:02 UTC] Upgrading plugin 'advanced-custom-fields-
pro'...
[29-Aug-2024 22:24:05 UTC] Plugin 'advanced-custom-fields-pro' has
been upgraded.
[29-Aug-2024 22:24:07 UTC] Scraping home page...
[29-Aug-2024 22:24:07 UTC] '<!doctype html>
<html lang="de">
<head>
...
[29-Aug-2024 22:24:07 UTC] The update for 'advanced-custom-fields-pro'
has no fatal errors.
[29-Aug-2024 22:24:07 UTC] Automatic plugin updates complete.
[29-Aug-2024 22:24:07 UTC] Automatic updates complete.
}}}
As a solution 2 Options are possible:
**Option 1:**
Do not fill Debug Log with html body when there is no error.
**Option 2:**
Introduce a new filter to handle scraping home page output in debug log.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62029>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list