diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-03-01 10:30:12 +0100 |
---|---|---|
committer | Ivan Kluchnikov <kluchnikovi@gmail.com> | 2015-06-22 11:40:34 +0300 |
commit | eefa8e58f7fd9d3f3545a932338921b4d82b54e6 (patch) | |
tree | 1b6921721f6cd31aeafc4f623adbed712d8d182c | |
parent | Transceiver: Add support for OsmoBTS style handover. (diff) | |
download | OsmoTRX-eefa8e58f7fd9d3f3545a932338921b4d82b54e6.tar.xz OsmoTRX-eefa8e58f7fd9d3f3545a932338921b4d82b54e6.zip |
Logger: Output ERR log messages to stderr as well.
-rw-r--r-- | CommonLibs/Logger.cpp | 2 |
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; } |