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

PDE-4384 feat(core): add support for server-side logFieldMaxLength #725

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

eliangcs
Copy link
Member

@eliangcs eliangcs commented Nov 10, 2023

This PR allows zapier-platform-core to take the logFieldMaxLength from the server and use it as the string length limit to truncate log fields. So we can control the truncation behaviors from the server, rather than always truncating at 3500 characters.

Also refactors the logger code to reduce some redundant computation.

@eliangcs eliangcs marked this pull request as ready for review November 10, 2023 06:59
rnegron
rnegron previously approved these changes Nov 10, 2023
standielpls
standielpls previously approved these changes Nov 10, 2023
@eliangcs eliangcs dismissed stale reviews from standielpls and rnegron via 6733b66 November 13, 2023 03:41
@eliangcs eliangcs merged commit a662baa into main Nov 13, 2023
13 checks passed
@eliangcs eliangcs deleted the PDE-4384-server-side-log-field-max-length branch November 13, 2023 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants