NVIDIA / NVIDIA/cudf

[FEA] Java bindings should connect RMM logger to slf4j

Open
#8,003 4 comments 0 reactions 0 assignees View on GitHub
feature request Java Spark
Dominant language
C++
Stars
9.8k
Forks
1.1k
Avg merge
3d 6m
Merged PRs (30d)
278

Description

**Is your feature request related to a problem? Please describe.**
RMM can create log output which defaults to output in `rmm_log.txt`. There currently isn't a way to connect this output to the other logging output from cudf which is currently funneled through the slf4j API.

**Describe the solution you'd like**
The RMM spdlog sink should be replaced immediately after startup with a sink that can log to slf4j. This allows the user to customize at runtime how the RMM logs should be handled, whether that's sent to a file, stderr, or some other, custom logging handler. See https://github.com/rapidsai/rmm/issues/564#issuecomment-822964167 for details on how the RMM spdlog sink can be updated.

**Describe alternatives you've considered**
We could simply emit these error messages to stderr, but using slf4j would be more flexible for applications.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.