-
Notifications
You must be signed in to change notification settings - Fork 38
DAGE-104: Add info/debug level logging #258
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
Conversation
nseidan
commented
Nov 5, 2025
- added some logs (info/debug level)
nicolo-rinaldi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to:
- change the message logged in the
dataset_generator/config.py? - log the payloads/url used in the requests?
|
|
||
| # score initial docset | ||
| if config.enable_cartesian_product: | ||
| log.debug("Cartesian product is enabled, so adding cartesian product scores") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would put this inside its function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
rre-tools/src/rre_tools/vector_search_doctor/embedding_model_evaluator/main.py
Show resolved
Hide resolved
rre-tools/src/rre_tools/vector_search_doctor/embedding_model_evaluator/main.py
Show resolved
Hide resolved
what messages you want to change?
I think we should not log the entire payload, because it might be lengthy, if we log at the debug level, we shoudl truncate it. |
|
I would change this into something that says that the config file is the one related to the dataset generator, as we did for the other 2 modules. For logging the payload, I agree to log it in debug mode (even before, but I didn't specify it). I just think it is very useful when debugging the code to have the payload/url printed, so I can see what the code is actually doing. |
|
partial payload is (first 500chars) logged at the debug level |