-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Allow users to set the logger level in XGBoost-PySpark #10065
Comments
Hmm, we need to find a way to unify all the logging levels. |
There's XGB logging, Python logging, spark logging, among some others. |
Let me have a PR to fix this issue. |
Hi @danmar3, previously, it will print the |
Hi, currently using XGBoost-PySpark in notebooks generates several log messages. I have not been able to turn them off. For example, when calling .transform, the notebook gets spammed with several messages like:
Currently, every time get_logger is called (here), the logger information is set to INFO here.
This does not allow the user to set the logging level, as it is always re-set to 'INFO'.
I think this can be solved by removing the setLevel line here.
Thank you
The text was updated successfully, but these errors were encountered: