From e8b9db51e2b54a680fecbf3b26ce0fe1c77614cc Mon Sep 17 00:00:00 2001 From: Thomas Tsou Date: Thu, 2 Jun 2011 11:13:20 -0700 Subject: [PATCH] uhd: log asynchronous errors as errors Bump abnormal asynchronous events - basically send errors - up to ERROR level. These errors are dominated almost entirely by underflow events, which should not be regularly occuring. Signed-off-by: Thomas Tsou --- public-trunk/Transceiver/UHDDevice.cpp | 2 +- public-trunk/Transceiver52M/UHDDevice.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public-trunk/Transceiver/UHDDevice.cpp b/public-trunk/Transceiver/UHDDevice.cpp index 7746730..5e1d29b 100644 --- a/public-trunk/Transceiver/UHDDevice.cpp +++ b/public-trunk/Transceiver/UHDDevice.cpp @@ -653,7 +653,7 @@ bool uhd_device::recv_async_msg() // Assume that any error requires resynchronization if (metadata.event_code != uhd::async_metadata_t::EVENT_CODE_BURST_ACK) { aligned = false; - LOG(INFO) << str_code(metadata); + LOG(ERROR) << str_code(metadata); } return true; diff --git a/public-trunk/Transceiver52M/UHDDevice.cpp b/public-trunk/Transceiver52M/UHDDevice.cpp index 6c55260..3d731a3 100644 --- a/public-trunk/Transceiver52M/UHDDevice.cpp +++ b/public-trunk/Transceiver52M/UHDDevice.cpp @@ -653,7 +653,7 @@ bool uhd_device::recv_async_msg() // Assume that any error requires resynchronization if (metadata.event_code != uhd::async_metadata_t::EVENT_CODE_BURST_ACK) { aligned = false; - LOG(INFO) << str_code(metadata); + LOG(ERROR) << str_code(metadata); } return true;