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

Add more information about size of the generated payload #1653

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

andrzejewsky
Copy link
Member

Scope of the PR

Related issues

Checklist

Copy link

vercel bot commented Nov 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
saleor-app-avatax ✅ Ready (Inspect) Visit Preview Nov 27, 2024 1:37pm
saleor-app-cms ✅ Ready (Inspect) Visit Preview Nov 27, 2024 1:37pm
saleor-app-klaviyo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 1:37pm
saleor-app-search ✅ Ready (Inspect) Visit Preview Nov 27, 2024 1:37pm
saleor-app-smtp ✅ Ready (Inspect) Visit Preview Nov 27, 2024 1:37pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
saleor-app-products-feed ⬜️ Ignored (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 1:37pm

Copy link

changeset-bot bot commented Nov 27, 2024

🦋 Changeset detected

Latest commit: f148b5c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
products-feed Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@andrzejewsky andrzejewsky marked this pull request as ready for review November 27, 2024 13:32
@andrzejewsky andrzejewsky requested review from a team as code owners November 27, 2024 13:32
@andrzejewsky andrzejewsky merged commit 0fac242 into main Nov 27, 2024
16 checks passed
@andrzejewsky andrzejewsky deleted the attribute-size-log branch November 27, 2024 13:49
Comment on lines +227 to +229
logger.info("Generated XML size", {
size: xmlContent.length,
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we shouldnt generate logs just for that. You can attach "size" attribute to further logs

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

Successfully merging this pull request may close these issues.

4 participants