-
Notifications
You must be signed in to change notification settings - Fork 549
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
[TASK] [DEBT] Use GLOG in the cuML's back-end #100
Comments
Sometime ago I worked in things relative to append logging infrastructure to RAPIDS: Repository: Change: |
Marking this as a Tech Debt item so as to help as plan for future clean-up releases. |
@jrhemstad has recently filed a PR under RMM proposing to use spdlog as the underlying logging library. Since we depend on RMM, we should do either one of the following:
Personal opinion: I'd favor spdlog. |
I looked at glog and didn't like it because it wasn't header only. That's less of a big deal for a compiled library like cuML. This was more important for RMM since we're planning to make it header only. See https://github.com/gabime/spdlog/wiki/How-to-use-spdlog-in-DLLs about mixing loggers in different libraries. They shouldn't collide at all. |
@jrhemstad I didn't notice anywhere it being mentioned that we can mix logger objects from different logging libraries itself? Maybe I'm misreading its docs? |
You can mix logger objects because the libraries are totally independent. The Furthermore, the logger object I'm using in RMM isn't registered with |
Great. Thanks for the confirmation @jrhemstad |
Closing this one as PR #1867 has now been merged. |
I have spoken with some of the other back-end developers of cuML about this. GLOG is Google's logging tool for C++.
Similar to other logging tools, it allows us to set a log level at run-time in order to debug cuML algorithms without having to rebuild each time.
It will also allow users of the community to drop the log level to debug when they experience problems and provide their output on github issues so we can help isolate problems more easily.
The text was updated successfully, but these errors were encountered: