paimon icon indicating copy to clipboard operation
paimon copied to clipboard

[enhancement] ​​Logging Optimization

Open haohao0103 opened this issue 9 months ago • 0 comments

Search before asking

  • [x] I searched in the issues and found nothing similar.

Motivation

Two main optimizations were implemented:

  1. No log level check was performed when invoking LOG.warn(xx);
  2. Log statements did not use placeholders;

Solution

  1. add DEBUG-level log checks before logging operations;
  2. log statements use parameterized placeholder

Anything else?

NONE

Are you willing to submit a PR?

  • [x] I'm willing to submit a PR!

haohao0103 avatar Apr 09 '25 07:04 haohao0103