aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/utils/log.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/utils/log.cpp b/host/lib/utils/log.cpp
index df18ce97f..4b95c9b8a 100644
--- a/host/lib/utils/log.cpp
+++ b/host/lib/utils/log.cpp
@@ -411,8 +411,7 @@ private:
if (log_level_num >= uhd::log::trace and log_level_num <= uhd::log::fatal) {
return log_level_num;
} else {
- UHD_LOGGER_ERROR("LOG")
- << "Failed to set log level to: " << log_level_str;
+ std::cerr << "[LOG] Failed to set log level to: " << log_level_str;
return previous_level;
}
}