aboutsummaryrefslogtreecommitdiffstats
path: root/CommonLibs
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2015-03-01 10:30:12 +0100
committerTom Tsou <tom.tsou@ettus.com>2015-07-30 14:24:20 -0700
commitcc6f79b1c01d317cb398ac0d9bf3fc12dfe60435 (patch)
tree6190ad6f9b5b58999a9fcb5bdb811ce50dce41de /CommonLibs
parent5a0680655ff2908d689dd2bbd1ff23c282d3e769 (diff)
Logger: Output ERR log messages to stderr as well.
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
Diffstat (limited to 'CommonLibs')
-rw-r--r--CommonLibs/Logger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CommonLibs/Logger.cpp b/CommonLibs/Logger.cpp
index 2a53698..cc4bb42 100644
--- a/CommonLibs/Logger.cpp
+++ b/CommonLibs/Logger.cpp
@@ -193,7 +193,7 @@ Log::~Log()
if (mDummyInit) return;
// Anything at or above LOG_CRIT is an "alarm".
// Save alarms in the local list and echo them to stderr.
- if (mPriority <= LOG_CRIT) {
+ if (mPriority <= LOG_ERR) {
if (sLoggerInited) addAlarm(mStream.str().c_str());
cerr << mStream.str() << endl;
}