Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanhce logged data to help with debugging support requests #9892

Open
dmvrtx opened this issue Dec 6, 2024 · 2 comments · May be fixed by #9853
Open

Enhanhce logged data to help with debugging support requests #9892

dmvrtx opened this issue Dec 6, 2024 · 2 comments · May be fixed by #9853
Assignees
Labels
category: engineering For product engineering, architecture work, tech debt and so on. focus: misc or unknown Issues that need to be added to a focus area (aka "needs focus"). theme: Eng/Dev excellence Engineering, backend/infra upgrades & improvements - none internal/external user facing type: enhancement The issue is a request for an enhancement.

Comments

@dmvrtx
Copy link
Contributor

dmvrtx commented Dec 6, 2024

Description

Our plugin logs a lot of information, which could be useful for debugging, but there is a catch, that those logs lack context. I.e. it is not clear if the logged events happened during the same, concurrent or consequent requests. Often it is not obvious in which context request was made.

There is an opportunity to hook into woocommerce_format_log_entry filter and update the logged entry with additional information to help with debugging.

Acceptance criteria

  • Log entries allow to identify events within the same request.
  • Log entries are readable for humans, but with a possibility to be machine-processed.
@dmvrtx dmvrtx added the theme: Eng/Dev excellence Engineering, backend/infra upgrades & improvements - none internal/external user facing label Dec 6, 2024
@dmvrtx dmvrtx self-assigned this Dec 6, 2024
@vbelolapotkov vbelolapotkov added focus: misc or unknown Issues that need to be added to a focus area (aka "needs focus"). type: enhancement The issue is a request for an enhancement. category: engineering For product engineering, architecture work, tech debt and so on. labels Dec 6, 2024
@vbelolapotkov
Copy link
Collaborator

Thanks for submitting this idea, @dmvrtx . I've put it into engineering excellence backlog for further review and prioritization.

@dmvrtx
Copy link
Contributor Author

dmvrtx commented Dec 6, 2024

@vbelolapotkov I have a #9853 which I worked on during the HACK week. My plan is to post an RFC soon with suggested changes and reasoning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: engineering For product engineering, architecture work, tech debt and so on. focus: misc or unknown Issues that need to be added to a focus area (aka "needs focus"). theme: Eng/Dev excellence Engineering, backend/infra upgrades & improvements - none internal/external user facing type: enhancement The issue is a request for an enhancement.
Projects
None yet
2 participants