Skip to content

Debug logΒ #770

Closed as not planned
Closed as not planned

Description

@Tymotey

On scan page add a checkbox that will save logs of each scan check.
Save one(or multiple) logs and create a way to view(delete also) the log.
If multiple logs are going to be saved show a list of current logs and allow user to view or delete it.
Saving location: wp-content/pcp-files

Log could be something like:
General checks
Running PHPCS checks
0 errors found in file xxxxx
1 error found in file yyyyy

Performance checks
Running WP Query Params checks
Query xxxx must ....
Query yyy is ok

This will help on:
Easy save/send report by user later maybe sharing it later
Debug any issue that will stop the scan on any step

Activity

  1. swissspidy commented on Nov 6, 2024

    @swissspidy
    Member

    Previously/Related: #558

  2. added
    [Type] Enhancement
    on Jan 28, 2025
  3. swissspidy commented on Apr 6, 2025

    @swissspidy
    Member

    Revisiting this, this doesn't seem useful to me. If someone needs details, we could add debug output to the WP-CLI command and then you can save the output in a file, but I really don't see the use case of sending a log file to someone else.

    And otherwise I'd recommend using something like https://github.com/WordPress/plugin-check-action anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions