2009-04-13 Esteban Sanchez <estebans@artica.es>

* modules/pandora_module_odbc.cc: Fixed log message when no username
        was found.

        * modules/pandora_module_factory.cc: Removed duplicated assignment.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Esteban Sanchez 2009-04-13 10:49:08 +00:00
parent 6e649b2121
commit 4a24502829
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2009-04-13 Esteban Sanchez <estebans@artica.es>
* modules/pandora_module_odbc.cc: Fixed log message when no username
was found.
* modules/pandora_module_factory.cc: Removed duplicated assignment.
2009-04-02 Ramon Novoa <rnovoa@artica.es> 2009-04-02 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_proc.cc, * modules/pandora_module_proc.cc,

View File

@ -117,7 +117,6 @@ Pandora_Module_Factory::getModuleFromDefinition (string definition) {
module_service = ""; module_service = "";
module_odbc = ""; module_odbc = "";
module_odbc_query = ""; module_odbc_query = "";
module_odbc = "";
module_logevent = ""; module_logevent = "";
module_source = ""; module_source = "";
module_eventtype = ""; module_eventtype = "";

View File

@ -190,7 +190,7 @@ Pandora_Module_Odbc::run () {
if (this->username == "") { if (this->username == "") {
pandoraLog ("Error on module ODBC '%s': No username to connect to DSN %s. " pandoraLog ("Error on module ODBC '%s': No username to connect to DSN %s. "
"Add %s_username parameter to configuration file", "Add odbc_%s_username parameter to configuration file",
this->module_name.c_str (), this->dsn.c_str (), this->dsn.c_str ()); this->module_name.c_str (), this->dsn.c_str (), this->dsn.c_str ());
return; return;
} }