fury icon indicating copy to clipboard operation
fury copied to clipboard

feat(java): add log downgrade configuration

Open ZhiQiang-Tiger opened this issue 6 months ago • 1 comments

What does this PR do?

Users can choose the level of error messages to be printed.

Related issues

Deserialize big object using Fury frequently, triggering a Full GC when logging failed object https://github.com/apache/fury/issues/2259

Does this PR introduce any user-facing change?

The user can select the log mode by adding the configuration ExceptionLogMode via FuryBuilder. When log sampling, set the sampling step by logSampleStep.

  • [ ] add enum class ExceptionLogMode.
  • [ ] add sample step param.

Benchmark

ZhiQiang-Tiger avatar Jun 03 '25 08:06 ZhiQiang-Tiger

@ZhiQiang-Tiger any updates on this?

chaokunyang avatar Sep 19 '25 17:09 chaokunyang