Skip to content

fix(logging): retain close exception details - #7126

Open
dengliming wants to merge 3 commits into
apache:masterfrom
dengliming:fix-6761-log-close-exceptions
Open

dengliming wants to merge 3 commits into
apache:masterfrom
dengliming:fix-6761-log-close-exceptions

Conversation

@dengliming

Copy link
Copy Markdown
Member

Summary

  • include the original exception when the common log consumer fails to close
  • retain Huawei LTS producer close stack traces
  • retain Tencent CLS producer close stack traces

Testing

  • mvn -q -pl shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-common,shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-huawei-lts,shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-tencent-cls -am -DskipTests=false -Dcheckstyle.skip=false -Dtest=AbstractLogConsumeClientTest,HuaweiLtsLogCollectClientTest,TencentClsLogCollectClientTest -DfailIfNoTests=false test

Fixes #6761

@Aias00 Aias00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved as PMC (Aias00). Reviewed the diff — small, well-scoped fix with regression tests; mergeable.

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.

[BUG] Swallowed exceptions in close methods across logging clients

2 participants