diff --git a/include/lbann/utils/logging.hpp b/include/lbann/utils/logging.hpp index 856bb51e43a..9910cd1397b 100644 --- a/include/lbann/utils/logging.hpp +++ b/include/lbann/utils/logging.hpp @@ -69,8 +69,8 @@ h2::Logger& get(LBANN_Logger_ID id); #define LBANN_DEBUG(logger_id, ...) LBANN_LOG(logger_id, ::h2::Logger::LogLevelType::DEBUG, __VA_ARGS__) #define LBANN_INFO(logger_id, ...) LBANN_LOG(logger_id, ::h2::Logger::LogLevelType::INFO, __VA_ARGS__) #define LBANN_WARN(logger_id, ...) LBANN_LOG(logger_id, ::h2::Logger::LogLevelType::WARN, __VA_ARGS__) -#define LBANN_ERR(logger_id, ...) LBANN_LOG(logger_id, ::h2::Logger::LogLevelType::ERR, __VA_ARGS__) -#define LBANN_CRIT(logger_id, ...) LBANN_LOG(logger_id, ::h2::Logger::LogLevelType::CRIT, __VA_ARGS__) +#define LBANN_ERR(logger_id, ...) LBANN_LOG(logger_id, ::h2::Logger::LogLevelType::ERROR, __VA_ARGS__) +#define LBANN_CRIT(logger_id, ...) LBANN_LOG(logger_id, ::h2::Logger::LogLevelType::CRITICAL, __VA_ARGS__) // Run time #define LBANN_RT_TRACE(...) LBANN_TRACE(::lbann::logging::LBANN_Logger_ID::LOG_RT, __VA_ARGS__) diff --git a/src/utils/logging.cpp b/src/utils/logging.cpp index bb98721f655..4d80e592da5 100644 --- a/src/utils/logging.cpp +++ b/src/utils/logging.cpp @@ -44,7 +44,7 @@ void setup_loggers() { logger_vec.insert(logger_vec.end(), { &io_logger, &rt_logger, &train_logger }); - h2::setup_levels(logger_vec, "TEST_LOG_LEVEL"); + h2::setup_levels(logger_vec, "LBANN_LOG_LEVEL"); } char const* logger_id_str(LBANN_Logger_ID id)