From 498ac218c69ea6bbd74d27e528b9812babf61874 Mon Sep 17 00:00:00 2001 From: vuule Date: Mon, 6 Feb 2023 11:55:16 -0800 Subject: [PATCH] use macro --- cpp/src/io/utilities/config_utils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/io/utilities/config_utils.hpp b/cpp/src/io/utilities/config_utils.hpp index 85ff99a99a0..681765ff4bd 100644 --- a/cpp/src/io/utilities/config_utils.hpp +++ b/cpp/src/io/utilities/config_utils.hpp @@ -31,9 +31,9 @@ T getenv_or(std::string_view env_var_name, T default_val) { auto const env_val = std::getenv(env_var_name.data()); if (env_val != nullptr) { - logger().debug("Environment variable {} read as {}", env_var_name, env_val); + CUDF_LOG_INFO("Environment variable {} read as {}", env_var_name, env_val); } else { - logger().debug( + CUDF_LOG_INFO( "Environment variable {} is not set, using default value {}", env_var_name, default_val); }