Skip to content

Add logging options for data payloads#31

Merged
adrianmo merged 10 commits intomasterfrom
limit-log-data
Apr 20, 2023
Merged

Add logging options for data payloads#31
adrianmo merged 10 commits intomasterfrom
limit-log-data

Conversation

@adrianmo
Copy link
Copy Markdown
Owner

@adrianmo adrianmo commented Apr 17, 2023

  • Enhance logging for data payloads: logResponseData and logSampleData now support the following configuration options: Always, OnFailure, and Never. Maintains backwards compatibility with the old boolean values.
  • Truncate text payloads larger than 1024 characters.
  • Do not log binary payloads - replace value with [BINARY DATA] placeholder.
  • Add tests to cover new functionality.
  • Fixes Add sampler data and response data for failed transactions alone #29

@adrianmo
Copy link
Copy Markdown
Owner Author

@ssharmasurender3 can you please review and test the changes here based on what we discussed?

You can download the JAR file from the latest CI build.

@adrianmo adrianmo merged commit eb7d3fa into master Apr 20, 2023
@adrianmo adrianmo deleted the limit-log-data branch April 20, 2023 10:08
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.

Add sampler data and response data for failed transactions alone

1 participant