Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce logging for SpecialValueTransformer #12970

Merged

Conversation

aishikbh
Copy link
Contributor

@aishikbh aishikbh commented Apr 19, 2024

Issue

Logging the number of conversions per record is too much and ends up polluting the logs.

Solution

This PR changes the log level to debug. The other solution is to log the conversion numbers in batches, but that will not be much helpful to debug issues since we are just logging numbers.

* There are too many logs for just showing the number of conversions.
  Changing the logs to debug level.
@codecov-commenter
Copy link

codecov-commenter commented Apr 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.16%. Comparing base (59551e4) to head (d60791c).
Report is 340 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #12970      +/-   ##
============================================
+ Coverage     61.75%   62.16%   +0.40%     
+ Complexity      207      198       -9     
============================================
  Files          2436     2502      +66     
  Lines        133233   136513    +3280     
  Branches      20636    21131     +495     
============================================
+ Hits          82274    84859    +2585     
- Misses        44911    45383     +472     
- Partials       6048     6271     +223     
Flag Coverage Δ
custom-integration1 <0.01% <0.00%> (-0.01%) ⬇️
integration <0.01% <0.00%> (-0.01%) ⬇️
integration1 <0.01% <0.00%> (-0.01%) ⬇️
integration2 0.00% <0.00%> (ø)
java-11 62.12% <100.00%> (+0.41%) ⬆️
java-21 62.04% <100.00%> (+0.41%) ⬆️
skip-bytebuffers-false 62.15% <100.00%> (+0.40%) ⬆️
skip-bytebuffers-true 62.02% <100.00%> (+34.29%) ⬆️
temurin 62.16% <100.00%> (+0.40%) ⬆️
unittests 62.15% <100.00%> (+0.40%) ⬆️
unittests1 46.70% <0.00%> (-0.19%) ⬇️
unittests2 27.94% <100.00%> (+0.21%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@swaminathanmanish swaminathanmanish left a comment

Choose a reason for hiding this comment

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

Consider adding a metric for grafana, if that'll help.

Copy link
Contributor

@Jackie-Jiang Jackie-Jiang left a comment

Choose a reason for hiding this comment

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

Same is #12909.
I think we can merge it now to solve the immediate issue, then discuss the better handling under #12909

@Jackie-Jiang Jackie-Jiang merged commit d840413 into apache:master Apr 19, 2024
20 checks passed
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.

None yet

4 participants