Skip to content

Conversation

@mythrocks
Copy link
Contributor

@mythrocks mythrocks commented Aug 7, 2025

This is a follow-up to #1226, which aims to reduce the amount of noise in the Java test logs.

In the course of making the changes in #1226, one observes that there exist some TRACE messages from libcuvs that are being logged at the INFO level. Thousands of these fill up the Java logs, obscuring some legitimate warnings. For instance:

  1. Graph optimized, creating index and optimizing graph appear 4574 times.
  2. Saving CAGRA index with dataset appears 1025 times.

There isn't any further information in the messages, beyond indicating that position in code.

This commit changes the level of the first message to TRACE, and the second to DEBUG (to match the logs around it).

AFAICT, this shouldn't have an effect on the tests, or have impact on user-logs, beyond reducing log volume.

This is a follow-up to rapidsai#1226, which aims to reduce the amount of noise
in the Java test logs.

In the course of making the changes in rapidsai#1226, one observes that there
exist some TRACE messages from `libcuvs` that are being logged at the
INFO level.  Thousands of these fill up the Java logs, obscuring some
legitimate warnings. For instance:
1. "Graph optimized, creating index" and "optimizing graph" appear 4574
   times.
2. "Saving CAGRA index with dataset" appears 1025 times.

There isn't any further information in the messages, beyond indicating
that position in code.

This commit changes the level of the first message to "TRACE", and the
second to "DEBUG" (to match the logs around it).

Signed-off-by: MithunR <[email protected]>
@mythrocks mythrocks self-assigned this Aug 7, 2025
@mythrocks mythrocks added the improvement Improves an existing functionality label Aug 7, 2025
@mythrocks mythrocks requested a review from a team as a code owner August 7, 2025 23:19
@mythrocks mythrocks added the non-breaking Introduces a non-breaking change label Aug 7, 2025
@mythrocks
Copy link
Contributor Author

(cc @jinsolp.)

Copy link
Contributor

@jinsolp jinsolp left a comment

Choose a reason for hiding this comment

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

LGTM!

@cjnolet cjnolet moved this from Todo to In Progress in Vector Search, ML, & Data Mining Release Board Aug 8, 2025
@cjnolet
Copy link
Member

cjnolet commented Aug 8, 2025

/merge

@rapids-bot rapids-bot bot merged commit 6947ac4 into rapidsai:branch-25.10 Aug 8, 2025
97 of 102 checks passed
@mythrocks mythrocks deleted the drop-logging-level-cagra branch August 8, 2025 22:33
@mythrocks
Copy link
Contributor Author

Ah, thank you for the timely reviews, @jinsolp, @cjnolet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Development

Successfully merging this pull request may close these issues.

3 participants