diff options
-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 06e91f6..e2bc0bf 100644 --- a/CommonLibs/Logger.cpp +++ b/CommonLibs/Logger.cpp @@ -192,7 +192,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; } |