Skip to content

CAMEL-20692: camel-cxf - Set a default value for loggingSizeLimit#13936

Merged
essobedo merged 2 commits intomainfrom
CAMEL-20692/set-default-value-for-loggingSizeLimit-4.6
Apr 25, 2024
Merged

CAMEL-20692: camel-cxf - Set a default value for loggingSizeLimit#13936
essobedo merged 2 commits intomainfrom
CAMEL-20692/set-default-value-for-loggingSizeLimit-4.6

Conversation

@essobedo
Copy link
Contributor

Fixes https://issues.apache.org/jira/browse/CAMEL-20692 for Camel 4.6

Motivation

When the logging feature is enabled in the CXF component, the payload is not displayed in the log because the default log limit is set to 0 by unexpected default

Modifications:

  • Initialize the value of loggingSizeLimit to AbstractLoggingInterceptor.DEFAULT_LIMIT as expected
  • Align the code related to loggingSizeLimit in the CXFRS component to allow to configure -1 and 0 as limit

@github-actions
Copy link
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟

🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run

  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot.

  • You can label PRs using build-all, build-dependents, skip-tests and test-dependents to fine-tune the checks executed by this PR.

  • Build and test logs are available in the Summary page. Only Apache Camel committers have access to the summary.

  • ⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@essobedo essobedo force-pushed the CAMEL-20692/set-default-value-for-loggingSizeLimit-4.6 branch from 8f6cc1e to 42edb9c Compare April 25, 2024 09:50
@github-actions github-actions bot added the dsl label Apr 25, 2024
@essobedo essobedo merged commit ce2f939 into main Apr 25, 2024
@essobedo essobedo deleted the CAMEL-20692/set-default-value-for-loggingSizeLimit-4.6 branch April 25, 2024 10:46
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.

2 participants