commerce-cif-graphql-client icon indicating copy to clipboard operation
commerce-cif-graphql-client copied to clipboard

ISSUE-43 : Add DEBUG logging for GraphQL Client Cache HIT/MISS or Exc…

Open sagarsane opened this issue 1 year ago • 2 comments

Added DEBUG and ERROR logs when there is a Cache HIT or MISS or in case of an exception.

Description

  • Added DEBUG and ERROR logs when there is a Cache HIT or MISS or in case of an exception.
  • Fixes https://github.com/adobe/commerce-cif-graphql-client/issues/43

Related Issue

Related Issue: https://github.com/adobe/commerce-cif-graphql-client/issues/43

Motivation and Context

To be able to investigate issues when GraphQL Client Cache Configuration is missing or has errors. Especially on AEM 6.5.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [x] I have signed the Adobe Open Source CLA.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [x] I have read the CONTRIBUTING document.
  • [ ] I have added tests to cover my changes and the overall coverage did not decrease.
  • [ ] All unit tests pass on CircleCi.
  • [ ] I ran all tests locally and they pass.

sagarsane avatar Jan 29 '24 20:01 sagarsane