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 a synapse property to handle excluding payload details in error logs #2127

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

RakhithaRR
Copy link
Contributor

Purpose

This PR adds a synapse property to exclude payload details from the error messages. This can be enabled from the deployment.toml as follows. The default value for this would be false in order to preserve the existing behaviour.

[synapse_properties]
'exclude.payload.details.from.error' = true

Related issue: https://github.com/wso2-enterprise/wso2-apim-internal/issues/5133

@RakhithaRR RakhithaRR requested a review from isudana January 5, 2024 04:52
@RakhithaRR RakhithaRR changed the title Add a synapse property to handle exclusing payload details in error logs Add a synapse property to handle excluding payload details in error logs Jan 5, 2024
@RakhithaRR RakhithaRR merged commit a3623cb into wso2:master Jan 16, 2024
1 of 2 checks passed
@RakhithaRR RakhithaRR deleted the AI-5133 branch February 3, 2024 06:20
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