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

Truncate request config #141

Merged
merged 2 commits into from
Aug 28, 2024
Merged

Conversation

enilas
Copy link
Contributor

@enilas enilas commented Aug 28, 2024

Purpose

Added a configurable flag to toggle the character limit in logging. This should help with debugging requests that come through Triangulum. The logs would unhelpfully cut off before showing all of the details of input arguments, which made understanding JSON requests as they came through rather difficult.

This flag keeps the default behavior of :truncate? for requests to be true, even if the key is missing from config.edn.

Related Issues

Closes HER-648

Submission Checklist

  • Commits include the JIRA issue
  • Code passes linter rules (clj-kondo --lint src)

Screenshots

Screenshot from 2024-08-26 11-21-21

@enilas enilas requested a review from Oliver-BE August 28, 2024 02:56
@enilas enilas self-assigned this Aug 28, 2024
@Oliver-BE Oliver-BE merged commit e57075c into main Aug 28, 2024
2 checks passed
@Oliver-BE Oliver-BE deleted the HER-648-pnguyen-truncate-request-config branch August 28, 2024 19:59
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.

2 participants