paimon
paimon copied to clipboard
[enhancement] Logging Optimization
Search before asking
- [x] I searched in the issues and found nothing similar.
Motivation
Two main optimizations were implemented:
- No log level check was performed when invoking LOG.warn(xx);
- Log statements did not use placeholders;
Solution
- add DEBUG-level log checks before logging operations;
- log statements use parameterized placeholder
Anything else?
NONE
Are you willing to submit a PR?
- [x] I'm willing to submit a PR!