Browse Source

[2211] adjusted log severity from ERROR to FATAL before aborting.

JINMEI Tatuya 12 years ago
parent
commit
9ba0013f74
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/bin/auth/datasrc_clients_mgr.h

+ 2 - 2
src/bin/auth/datasrc_clients_mgr.h

@@ -383,11 +383,11 @@ DataSrcClientsBuilderBase<MutexType, CondVarType>::run() {
         LOG_INFO(auth_logger, AUTH_DATASRC_CLIENTS_BUILDER_STOPPED);
     } catch (const std::exception& ex) {
         // We explicitly catch exceptions so we can log it as soon as possible.
-        LOG_ERROR(auth_logger, AUTH_DATASRC_CLIENTS_BUILDER_FAILED).
+        LOG_FATAL(auth_logger, AUTH_DATASRC_CLIENTS_BUILDER_FAILED).
             arg(ex.what());
         assert(false);
     } catch (...) {
-        LOG_ERROR(auth_logger, AUTH_DATASRC_CLIENTS_BUILDER_FAILED_UNEXPECTED);
+        LOG_FATAL(auth_logger, AUTH_DATASRC_CLIENTS_BUILDER_FAILED_UNEXPECTED);
         assert(false);
     }
 }