Skip to content

Add logging support to KvikIO using the rapids-logger library#943

Open
kingcrimsontianyu wants to merge 6 commits intorapidsai:mainfrom
kingcrimsontianyu:add-logger
Open

Add logging support to KvikIO using the rapids-logger library#943
kingcrimsontianyu wants to merge 6 commits intorapidsai:mainfrom
kingcrimsontianyu:add-logger

Conversation

@kingcrimsontianyu
Copy link
Contributor

@kingcrimsontianyu kingcrimsontianyu commented Mar 8, 2026

This PR adds logging support using the rapids-logger library. Logging is disabled by default and can be enabled through two environment variables:

  • KVIKIO_LOG_LEVEL: INFO or DEBUG (case-insensitive). Disabled if unset.
  • KVIKIO_LOG_FILE: Optional file path for log output. Falls back to stderr if unset or if the file cannot be opened.

@kingcrimsontianyu kingcrimsontianyu added improvement Improves an existing functionality non-breaking Introduces a non-breaking change c++ Affects the C++ API of KvikIO labels Mar 8, 2026
@copy-pr-bot
Copy link

copy-pr-bot bot commented Mar 8, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@kingcrimsontianyu kingcrimsontianyu changed the title Integrate rapids logger into KvikIO Add logging support to KvikIO using the rapids-logger library Mar 8, 2026
@kingcrimsontianyu kingcrimsontianyu marked this pull request as ready for review March 8, 2026 05:54
@kingcrimsontianyu kingcrimsontianyu requested review from a team as code owners March 8, 2026 05:54
@kingcrimsontianyu kingcrimsontianyu marked this pull request as draft March 8, 2026 15:53
@kingcrimsontianyu
Copy link
Contributor Author

/ok to test f42cc18

@kingcrimsontianyu
Copy link
Contributor Author

/ok to test e30780e

@kingcrimsontianyu
Copy link
Contributor Author

/ok to test 893a49b

@kingcrimsontianyu
Copy link
Contributor Author

/ok to test 386de91

@kingcrimsontianyu kingcrimsontianyu marked this pull request as ready for review March 9, 2026 06:04
@kingcrimsontianyu kingcrimsontianyu requested review from a team as code owners March 9, 2026 06:04
@madsbk madsbk closed this Mar 9, 2026
@madsbk madsbk reopened this Mar 9, 2026
@madsbk
Copy link
Member

madsbk commented Mar 9, 2026

Sorry, clicked the close bottom while scrolling on my phone 😥

@kingcrimsontianyu kingcrimsontianyu requested review from bdice and vyasr March 9, 2026 13:43
# natively installed library or a conda package, in which case the import will
# fail and we assume the library is discoverable on system paths.
pass

Copy link
Contributor Author

@kingcrimsontianyu kingcrimsontianyu Mar 9, 2026

Choose a reason for hiding this comment

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

extras:
table: project
includes:
- depends_on_rapids_logger
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

@madsbk madsbk left a comment

Choose a reason for hiding this comment

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

Looks good to me, but I don’t have much experience with rapids-logger

@kingcrimsontianyu
Copy link
Contributor Author

Thanks @madsbk! I'll wait for the feedback on the build related changes from the build experts.

@kingcrimsontianyu kingcrimsontianyu moved this to Burndown in libcudf Mar 9, 2026
@kingcrimsontianyu kingcrimsontianyu self-assigned this Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Affects the C++ API of KvikIO improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

Status: Burndown

Development

Successfully merging this pull request may close these issues.

2 participants