diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-03-01 10:30:12 +0100 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-03-01 10:30:12 +0100 |
commit | b61d91b50d1efe4cc303c2e9838de9fb54148d26 (patch) | |
tree | 2da35960a639f8a2f60cfd358c4009a5a9153405 | |
parent | 3531a6a6ac36e59c41a93cd9e07ae4cc1529522f (diff) |
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 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; } |