Skip to content

Conversation

@akifcorduk
Copy link
Contributor

@akifcorduk akifcorduk commented Jul 14, 2025

Description

This fixes an issue of formatting when writing to a log file, it was always writing with the default format regardless of the log level. Whereas, for builds on debug and higher levels we want timestamps.

@akifcorduk akifcorduk requested a review from a team as a code owner July 14, 2025 10:56
@akifcorduk akifcorduk added the bug Something isn't working label Jul 14, 2025
@akifcorduk akifcorduk requested review from a team as code owners July 14, 2025 10:56
@akifcorduk akifcorduk added the non-breaking Introduces a non-breaking change label Jul 14, 2025
@akifcorduk akifcorduk requested review from Kh4ster, rg20 and tmckayus July 14, 2025 10:56
set_property(
CACHE LIBCUOPT_LOGGING_LEVEL PROPERTY STRINGS "TRACE" "DEBUG" "INFO" "WARN" "ERROR" "CRITICAL"
"OFF"
CACHE LIBCUOPT_LOGGING_LEVEL PROPERTY STRINGS "OFF" "CRITICAL" "ERROR" "WARN" "INFO" "DEBUG" "TRACE"
Copy link
Contributor

Choose a reason for hiding this comment

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

The order of the strings shouldn't matter right? Since this gets translated into a CUOPT_LOG_ACTIVE_LEVEL=RAPIDS_LOGGER_LOG_LEVEL_${LIBCUOPT_LOGGING_LEVEL} definition

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you are right, it was the pattern setting in the init_logger. i misinterpreted it. reverted, thank!

@akifcorduk akifcorduk removed the request for review from tmckayus July 14, 2025 12:27
@rg20
Copy link
Contributor

rg20 commented Jul 14, 2025

@akifcorduk there is a logging related issue filed (#187). May be worth combining?

@akifcorduk
Copy link
Contributor Author

@rg20 I commented on the issue. I think it will require a larger change to do that.

@akifcorduk
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit a35dffc into NVIDIA:branch-25.08 Jul 15, 2025
209 of 212 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants