Browse Source

[2947] Change severity of log message to ERROR

Mukund Sivaraman 12 years ago
parent
commit
19e016eb1b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/lib/datasrc/client_list.cc
  2. 1 1
      src/lib/datasrc/datasrc_messages.mes

+ 1 - 1
src/lib/datasrc/client_list.cc

@@ -119,7 +119,7 @@ ConfigurableClientList::configure(const ConstElementPtr& config,
                 // building it in that case.
                 // building it in that case.
                 dsrc_pair = getDataSourceClient(type, param_conf);
                 dsrc_pair = getDataSourceClient(type, param_conf);
             } catch (const DataSourceLibraryError& ex) {
             } catch (const DataSourceLibraryError& ex) {
-                LOG_WARN(logger, DATASRC_LIBRARY_FAILURE).
+                LOG_ERROR(logger, DATASRC_LIBRARY_ERROR).
                     arg(datasrc_name).arg(rrclass_).arg(ex.what());
                     arg(datasrc_name).arg(rrclass_).arg(ex.what());
                 continue;
                 continue;
             }
             }

+ 1 - 1
src/lib/datasrc/datasrc_messages.mes

@@ -370,7 +370,7 @@ Therefore, the entire data source will not be available for this process. If
 this is a problem, you should configure the zones of that data source to some
 this is a problem, you should configure the zones of that data source to some
 database backend (sqlite3, for example) and use it from there.
 database backend (sqlite3, for example) and use it from there.
 
 
-% DATASRC_LIBRARY_FAILURE failure loading %1 datasource library for class %2: %3
+% DATASRC_LIBRARY_ERROR failure loading %1 datasource library for class %2: %3
 There was a problem loading the dynamic library for a data source. This
 There was a problem loading the dynamic library for a data source. This
 backend is hence not available, and any data sources that use this
 backend is hence not available, and any data sources that use this
 backend will not be available.
 backend will not be available.